diff options
author | Chris Johns <chrisj@rtems.org> | 2022-08-03 16:58:30 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2022-08-05 07:54:13 +1000 |
commit | 46131ce0e182114285cc7e98ec4843c04b8a5a86 (patch) | |
tree | 76bad2c9be4c544aa2a1ea4fc28ec7fb319b9e9b /cpukit/libdl/rtl-elf.c | |
parent | testsuite/psxclock: Check setting realtime clock does not effect sleeping tasks (diff) | |
download | rtems-46131ce0e182114285cc7e98ec4843c04b8a5a86.tar.bz2 |
libdl: Fix warnings on 64bit architectures
Updates #4662
Diffstat (limited to 'cpukit/libdl/rtl-elf.c')
-rw-r--r-- | cpukit/libdl/rtl-elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libdl/rtl-elf.c b/cpukit/libdl/rtl-elf.c index 37d9f4575e..8a21c5df73 100644 --- a/cpukit/libdl/rtl-elf.c +++ b/cpukit/libdl/rtl-elf.c @@ -1171,7 +1171,7 @@ rtems_rtl_elf_symbols_load (rtems_rtl_obj* obj, rtems_chain_set_off_chain (&osym->node); memcpy (string, name, strlen (name) + 1); osym->name = string; - osym->value = (uint8_t*) value; + osym->value = (void*) (intptr_t) value; osym->data = symbol.st_shndx; if (rtems_rtl_trace (RTEMS_RTL_TRACE_SYMBOL)) |