[libvirt] [PATCH] util: Fix build on s390

Christian Borntraeger borntraeger at de.ibm.com
Fri Oct 7 11:36:21 UTC 2016


On 10/07/2016 12:43 PM, Jiri Denemark wrote:
> GCC on s390 complains
> 
> util/virconf.c: In function 'virConfGetValueSizeT':
> util/virconf.c:1220:9: error: format '%zu' expects argument of type
> 'size_t', but argument 9 has type 'unsigned int' [-Werror=format=]

Interesting, we have never seen this. is this 31bit (s390) or 64bit(s390x)?
What gcc? Can you maybe provide the virconf.i file to see how the SIZE_MAX define
was resolved?

Christian




More information about the libvir-list mailing list