[rtems commit] libdl: Fix warning
Sebastian Huber
sebh at rtems.org
Wed Feb 15 12:06:25 UTC 2017
Module: rtems
Branch: master
Commit: f5cf2fe293fd52a452f5813ca6f8f23a6aefb877
Changeset: http://git.rtems.org/rtems/commit/?id=f5cf2fe293fd52a452f5813ca6f8f23a6aefb877
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Feb 15 11:19:50 2017 +0100
libdl: Fix warning
---
cpukit/libdl/rtl-mdreloc-powerpc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cpukit/libdl/rtl-mdreloc-powerpc.c b/cpukit/libdl/rtl-mdreloc-powerpc.c
index 43c0b83..978a2e8 100644
--- a/cpukit/libdl/rtl-mdreloc-powerpc.c
+++ b/cpukit/libdl/rtl-mdreloc-powerpc.c
@@ -178,7 +178,8 @@ rtems_rtl_elf_relocate_rela (const rtems_rtl_obj_t* obj,
*((Elf32_Half*) where) = tmp;
if (rtems_rtl_trace (RTEMS_RTL_TRACE_RELOC))
printf ("rtl: SDAREL16 %p @ %p in %s\n",
- (void *) *((Elf32_Half*) where), where, rtems_rtl_obj_oname (obj));
+ (void *) (uintptr_t) *((Elf32_Half*) where),
+ where, rtems_rtl_obj_oname (obj));
break;
default:
More information about the vc
mailing list