On Wed, Nov 17, 2010 at 9:14 PM, Zachary T Welch <[email protected]> wrote: > + ehdr = ei->image; > + if (strncmp(ehdr->e_ident, "\x7f" "ELF", 4) != 0) > + return -1;
This seems to cause a lot of compiler warnings that look like: ./elfxx.h: In function ‘elf_map_image’: ./elfxx.h:70: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:397: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ -Arun _______________________________________________ Libunwind-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/libunwind-devel
