Basic 32-bit SYMTAB and REL (not RELA) support
[centaur.git] / src / model / dump.c
index 5f0642a8fc53717a98161a12f0286d809973011a..27556f9ebc80d57bf0e1dc36e83617d969e6e5a6 100644 (file)
@@ -185,7 +185,7 @@ void elfu_mDumpEhdr(ElfuElf *me)
 
 
 
-static int subScnDump(ElfuElf *me, ElfuScn *ms, void *aux1, void *aux2)
+static void* subScnDump(ElfuElf *me, ElfuScn *ms, void *aux1, void *aux2)
 {
   (void) aux1;
   (void) aux2;
@@ -193,7 +193,7 @@ static int subScnDump(ElfuElf *me, ElfuScn *ms, void *aux1, void *aux2)
   printf(" [%4d] ", elfu_mScnIndex(me, ms));
   elfu_mDumpScn(me, ms);
 
-  return 0;
+  return NULL;
 }