]> xenbits.xensource.com Git - libvirt.git/commit
avoid problems with sign-extended "char" operand to is* functions
authorJim Meyering <meyering@redhat.com>
Fri, 25 Apr 2008 14:53:05 +0000 (14:53 +0000)
committerJim Meyering <meyering@redhat.com>
Fri, 25 Apr 2008 14:53:05 +0000 (14:53 +0000)
commit225ba3f0afc389b147f350ea585a491f795e46f4
tree8b9c9ecd5d8b8fcde60c6289bd2329c5965fed9c
parent3ad50bec7126cbfb6efd8fee93a7e14b8854b1cd
avoid problems with sign-extended "char" operand to is* functions

* src/util.h (to_uchar): Define function.
* src/nodeinfo.c (linuxNodeInfoCPUPopulate): Apply to_uchar to is* operand.
* src/qemu_driver.c (qemudExtractMonitorPath): Likewise.
* src/sexpr.c (_string2sexpr): Likewise.
* src/stats_linux.c (xenLinuxDomainDeviceID): Likewise.
* src/util.c (TOLOWER, __virMacAddrCompare, virParseMacAddr): Likewise.
* src/virsh.c (cmdVcpupin, vshCommandGetToken): Likewise.
ChangeLog
src/nodeinfo.c
src/qemu_driver.c
src/sexpr.c
src/stats_linux.c
src/util.c
src/util.h
src/virsh.c