elflink: Fix build warnings
authorMatt Fleming <matt.fleming@intel.com>
Mon, 2 Apr 2012 10:07:56 +0000 (11:07 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 17 Apr 2012 09:58:33 +0000 (10:58 +0100)
commitfdb708671b70182c597bed2fb0ed8d404e9f9b37
treea6230c71fc65a5adc299e7f51364acb8a1390ff2
parentb5529aac6a38f15084f7710018fd24921cb6be54
elflink: Fix build warnings

There's a lot of void * arithmetic going on in the ELF code that the
compiler warns about, i.e.

sys/module/common.c: In function ‘check_symbols’:
sys/module/common.c:325:44: warning: pointer of type ‘void *’ used in arithmetic

Cast the void * pointers to char * so that we can do byte arithmetic
on them.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/lib/sys/module/common.c
com32/lib/sys/module/common.h
com32/lib/sys/module/elf_module.c
com32/lib/sys/module/elfutils.c
com32/lib/sys/module/elfutils.h
com32/lib/sys/module/shallow_module.c