]> xenbits.xensource.com Git - libvirt.git/commit
msg_buf_size is unsigned long not size_t
authorGuido Günther <agx@sigxcpu.org>
Fri, 8 Jun 2012 19:24:13 +0000 (21:24 +0200)
committerGuido Günther <agx@sigxcpu.org>
Sun, 10 Jun 2012 18:43:30 +0000 (20:43 +0200)
commit2d98c6866277332ac63b53bb1345787e428bd491
tree9a5a83e305092db0f81ee383134167051a5dddbc
parent3ac8fb54f4e6365e6252eae9995fb8333972ae94
msg_buf_size is unsigned long not size_t

This fixes the build on 32bit systems which otherwise fails with:

virnetmessagetest.c: In function 'testMessageHeaderEncode':
virnetmessagetest.c:75:9: error: format '%zu' expects argument of type 'size_t', but argument 7 has type 'long unsigned int' [-Werror=format]
tests/virnetmessagetest.c