diff options
author | Jiri Gaisler <jiri@gaisler.se> | 2019-06-11 09:43:17 +0200 |
---|---|---|
committer | Jiri Gaisler <jiri@gaisler.se> | 2019-06-11 09:43:17 +0200 |
commit | ad36bf14ca7293a253150f13505b174ca9a5d1ea (patch) | |
tree | eda9b81238e46c4fc0a2219ed4e7135122b6326f /elf.c | |
parent | Add local copy of elf.h (diff) | |
download | sis-ad36bf14ca7293a253150f13505b174ca9a5d1ea.tar.bz2 |
Silence warnings when compiled with LLVM
Diffstat (limited to 'elf.c')
-rw-r--r-- | elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ read_elf_header (FILE * fp) efile.fp = fp; if ((ehdr.e_ident[EI_MAG0] != 0x7f) || - strncmp (&ehdr.e_ident[EI_MAG1], "ELF", 3) != 0) + strncmp ((char *) &ehdr.e_ident[EI_MAG1], "ELF", 3) != 0) { return (-1); } |