diff --git a/src/header.c b/src/header.c index aeb3163..a989901 100644 --- a/src/header.c +++ b/src/header.c @@ -210,7 +210,11 @@ get_longlongword() l |= (b3 << 24) + (b2 << 16) + (b1 << 8) + b0; #if DUMP_HEADER if (verbose_listing && verbose > 1) +#if SIZEOF_LONG < 8 printf("%lld(%#016llx)\n", l, l); +#else + printf("%ld(%#016lx)\n", l, l); +#endif #endif return l; }