]> git.ipfire.org Git - thirdparty/libvirt.git/commit
This patch fixes a bug appearing on big endian machines where the returned XML is...
authorStefan Berger <stefanb@us.ibm.com>
Wed, 22 Sep 2010 10:24:19 +0000 (06:24 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Wed, 22 Sep 2010 10:24:19 +0000 (06:24 -0400)
commit6eddbb0d3bcad50aaed158c6f40bf42997caa7ae
tree98f05efdf759e8d7b30bdaba7a5135cdd3edbdb1
parent9e3525df867ba1dbb3e5b1ff55f088f8287e9f9a
This patch fixes a bug appearing on big endian machines where the returned XML is not the one that is expected (see test/nwfilterxml2xmltest). The problem is due to for example the casting of pointers to unsigned integers to void * and then back to 16 bit integers.
src/conf/nwfilter_conf.c