]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[IA64] sim: Add casts to avoid assignment warnings
authorLuck, Tony <tony.luck@intel.com>
Thu, 20 Jun 2013 18:15:39 +0000 (11:15 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 8 Jul 2013 17:46:50 +0000 (10:46 -0700)
commit44840098478f6bf8c6e8d010241dcd4990fefe07
treec5c27087da2d463a5f70a2abb6b280e513ba4164
parentd2b4a646717153a1a180b64d4a8464054dbd700e
[IA64] sim: Add casts to avoid assignment warnings

Pointers in the efi_runtime_services_t structure now have type
"void *" (formerly they were "unsigned long"). So we now see a
bunch of warnings like this:

arch/ia64/hp/sim/boot/fw-emu.c:293: warning: assignment makes pointer from integer without a cast

Add (void *) casts to the 10 affected lines to make the build quiet again.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/hp/sim/boot/fw-emu.c