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

Re: [libvirt] [PATCH] build: avoid compiler warning



On 05/03/2010 05:05 PM, Matthias Bolte wrote:
> 2010/5/4 Eric Blake <eblake redhat com>:
>> Necessary on cygwin, where uid_t and gid_t are 4-byte long rather
>> than int, causing gcc -Wformat warnings.
>>
>> * src/util/util.c (virFileOperationNoFork, virDirCreateNoFork)
>> (virFileOperation, virDirCreate, virGetUserEnt): Cast uid_t and
>> gid_t before passing to printf.
>> * .gitignore: Ignore Windows executables.
>> ---
>>
>> changes in v2:
>> use unsigned int for all casts
>> change a %d to %u
>> tweak commit log wording
>>
> 
> ACK.

Thanks; pushed.

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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