Re: [Qemu-devel] [PATCH v3] Introduce format string for pid_t

2011-06-15 Thread Blue Swirl
Thanks, applied. On Thu, Jun 2, 2011 at 8:58 PM, Andreas Färber wrote: > BeOS and Haiku on i386 use long for 32-bit types, including pid_t. > Using %d with pid_t therefore results in a warning. > > Unfortunately POSIX:2008 does not define a PRId* string for pid_t. > > In some places pid_t was pre

[Qemu-devel] [PATCH v3] Introduce format string for pid_t

2011-06-02 Thread Andreas Färber
BeOS and Haiku on i386 use long for 32-bit types, including pid_t. Using %d with pid_t therefore results in a warning. Unfortunately POSIX:2008 does not define a PRId* string for pid_t. In some places pid_t was previously casted to long and %ld hardcoded. The predecessor of this patch added anoth