diff options
author | Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com> | 2024-04-26 15:37:56 +0200 |
---|---|---|
committer | Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com> | 2024-04-26 16:50:11 +0200 |
commit | 826638e203ededd31825dbf767130e3a17d4218c (patch) | |
tree | 796451249e3cd1bde17b0f47cf40c9b4f4298917 /src/ethosu_driver.c | |
parent | 2fa2bf09d04a22a61e3f9360ac4e220cf63b986f (diff) | |
download | ethos-u-core-driver-main.tar.gz |
A void pointer(fast_memory) was type casted to uint64_t. This resulted
in a compiler warning [-Wpointer-to-int-cast]. This patch fixes the
warning.
Change-Id: I61d4a77664c7a2af7b9020f8a98c10d27c78334f
Signed-off-by: Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>
Diffstat (limited to 'src/ethosu_driver.c')
-rw-r--r-- | src/ethosu_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ethosu_driver.c b/src/ethosu_driver.c index dead0b9..5128455 100644 --- a/src/ethosu_driver.c +++ b/src/ethosu_driver.c @@ -425,7 +425,7 @@ int ethosu_init(struct ethosu_driver *drv, } } - drv->fast_memory = (uint64_t)fast_memory; + drv->fast_memory = (uintptr_t)fast_memory; drv->fast_memory_size = fast_memory_size; drv->power_request_counter = 0; |