diff options
| author | imcu <[email protected]> | 2025-01-16 11:01:12 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-01-20 14:26:50 +0800 |
| commit | 680333fc18b41d24c3da9ae736af9471aa03ff04 (patch) | |
| tree | 44fa2c3ba44c2d488b8940863ee812f35fbfcb3b /components | |
| parent | 77e95594db92ba4beac83b39e7b0920f0edd39cf (diff) | |
[bsp][cvitek] fix c906_little build warning in cache.c
build warning: passing argument 1 of 'inv_icache_range' makes integer
from pointer without a cast [-Wint-conversion]
Analyze: The passed parameter type is void*, which is a pointer type,
but the required type is uintptr_t, which is an integer type. Therefore,
there will be a 'makes integer from pointer without a cast' warning.
Solution: casting the void* pointer to uintptr_t, ensure that the
function receives the correct type.
Signed-off-by: zdtyuiop4444 <[email protected]>
Diffstat (limited to 'components')
0 files changed, 0 insertions, 0 deletions
