]> xenbits.xensource.com Git - libvirt.git/commit
util: conf: Clarify choice between VIR_CONF_LONG and VIR_CONF_ULONG
authorAndrea Bolognani <abologna@redhat.com>
Fri, 15 Jul 2016 15:20:03 +0000 (17:20 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 18 Jul 2016 13:49:57 +0000 (15:49 +0200)
commit17b390fa85c73a67b616fcb3510a4abc3fb5e0d1
treea20e14fbf7d8a4d05755b98b87c3f53a3f1c862f
parent40bd97234402b5466354d496ffe2c23bc24a9dfa
util: conf: Clarify choice between VIR_CONF_LONG and VIR_CONF_ULONG

We use unsigned long long integers unless we need to store a
negative value. Rewrite the condition to make this more obvious.
src/util/virconf.c