[RTEMS Project] #3255: Warnings on 64-bit targets

RTEMS trac trac at rtems.org
Wed Nov 29 19:02:22 UTC 2017


#3255: Warnings on 64-bit targets
---------------------------+--------------------
 Reporter:  Joel Sherrill  |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  5.1
Component:  arch/powerpc   |    Version:  5
 Severity:  normal         |   Keywords:
---------------------------+--------------------
 This occurred on the 64 bit PowerPC and SPARC64 targets.

 log/powerpc-
 qoriq_e6500_64.log:../../../../../../rtems/c/src/../../cpukit/libmisc
 /rtems-fdt/rtems-fdt-shell.c:57:27: warning: cast to pointer from integer
 of different size [-Wint-to-pointer-cast]
 log/powerpc-
 qoriq_e6500_64.log:../../../../../../rtems/c/src/../../cpukit/libmisc
 /rtems-fdt/rtems-fdt-shell.c:64:27: warning: cast to pointer from integer
 of different size [-Wint-to-pointer-cast]
 log/powerpc-
 qoriq_e6500_64.log:../../../../../../rtems/c/src/../../cpukit/libmisc
 /rtems-fdt/rtems-fdt-shell.c:488:11: warning: format '%u' expects argument
 of type 'unsigned int', but argument 5 has type 'long int' [-Wformat=]
 log/powerpc-
 qoriq_e6500_64.log:../../../../../../rtems/c/src/../../cpukit/libmisc
 /rtems-fdt/rtems-fdt-shell.c:536:13: warning: format '%u' expects argument
 of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=]

--
Ticket URL: <http://devel.rtems.org/ticket/3255>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list