aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/elfload.c
diff options
context:
space:
mode:
authorChristoph Egger <Christoph.Egger@amd.com>2009-07-17 17:48:01 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-17 17:48:01 +0000
commitfff2a02f0cf103541cb49330f48731edeed8c957 (patch)
tree258992343c0b35974a45812d7d503dfe8de191d0 /bsd-user/elfload.c
parenta2547a1378e9039ea54bdaa53e917b74e55487ee (diff)
fix build warnings
Hi! Attached patch fixes build warnings due to use of different pointer signedness. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
Diffstat (limited to 'bsd-user/elfload.c')
-rw-r--r--bsd-user/elfload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c
index de7b4de7d7..ed25e8519e 100644
--- a/bsd-user/elfload.c
+++ b/bsd-user/elfload.c
@@ -1295,7 +1295,7 @@ int load_elf_binary(struct linux_binprm * bprm, struct target_pt_regs * regs,
}
if (interp_elf_ex.e_ident[0] != 0x7f ||
- strncmp(&interp_elf_ex.e_ident[1], "ELF",3) != 0) {
+ strncmp((char *)&interp_elf_ex.e_ident[1], "ELF",3) != 0) {
interpreter_type &= ~INTERPRETER_ELF;
}