]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: avoid compiler warning on 32-bit platform
authorEric Blake <eblake@redhat.com>
Fri, 30 May 2014 22:30:07 +0000 (16:30 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 30 May 2014 22:37:53 +0000 (16:37 -0600)
commitc7ca02e6e2086d118645b62ca63ed0b24f48ddf8
tree8f2bd7d3cdfd15d9eb01d851660440252e1c43de
parent23f38f8813fb39e45e32aad228a7da0fec63ffee
build: avoid compiler warning on 32-bit platform

On a 32-bit platform:

virstringtest.c: In function 'mymain':
virstringtest.c:673: warning: this decimal constant is unsigned only in ISO C90

I already had a comment in the file about the 64-bit counterpart;
the easiest fix was to make both sites use the standardized macro
that is guaranteed to work.

* tests/virstringtest.c (mymain): Minimum signed integers are a pain.

Signed-off-by: Eric Blake <eblake@redhat.com>
tests/virstringtest.c