X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/745dd912e628aff1ebcafa672dd16e99cb9db0ba..0a2aedfe6d650e825a50f25f972bac20d669f5cb:/src/unexcw.c diff --git a/src/unexcw.c b/src/unexcw.c index ea678dd4c2..6343b38bcf 100644 --- a/src/unexcw.c +++ b/src/unexcw.c @@ -147,7 +147,7 @@ fixup_executable (int fd) assert (ret == my_edata - (char *) start_address); ++found_data; if (debug_unexcw) - printf (" .data, mem start %#lx mem length %d\n", + printf (" .data, mem start %#lx mem length %td\n", start_address, my_edata - (char *) start_address); if (debug_unexcw) printf (" .data, file start %d file length %d\n", @@ -213,7 +213,7 @@ fixup_executable (int fd) sizeof (exe_header->section_header[i])); assert (ret == sizeof (exe_header->section_header[i])); if (debug_unexcw) - printf (" seek to %ld, write %d\n", + printf (" seek to %ld, write %zu\n", (long) ((char *) &exe_header->section_header[i] - (char *) exe_header), sizeof (exe_header->section_header[i])); @@ -228,7 +228,7 @@ fixup_executable (int fd) my_endbss - (char *) start_address); assert (ret == (my_endbss - (char *) start_address)); if (debug_unexcw) - printf (" .bss, mem start %#lx mem length %d\n", + printf (" .bss, mem start %#lx mem length %td\n", start_address, my_endbss - (char *) start_address); if (debug_unexcw) printf (" .bss, file start %d file length %d\n",