[PATCH] Use 'long long' for printf() format string and ELF64 numbers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 25, 2008 at 1:11 PM, Bernhard Walle <bwalle at suse.de> wrote:
>  kexec/crashdump-elf.c:160: warning: format '%lx' expects type \
>        'long unsigned int', but argument 4 has type 'Elf64_Off'

This is what inttypes.h is for, right?

> dbgprintf("%s: p_type = %u, p_offset = 0x%llx p_paddr = 0x%llx " ...

Perhaps (... "p_offset = 0x" PRIx64 " p_paddr = 0x" PRIx64 ...)?

Jamey



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux