]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
build: silence compiler warning on BSD
authorEric Blake <eblake@redhat.com>
Fri, 4 Nov 2011 22:32:30 +0000 (16:32 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 4 Nov 2011 22:43:37 +0000 (16:43 -0600)
commit4d970fd2938a0558444cddb4f5f5e63b910b5527
tree1edb12fec36cb96e29c3f50ec951f66b29781d47
parent9d86cbcf5f799b711e06ff989edb3bb3b2fa6556
build: silence compiler warning on BSD

Building on 64-bit FreeBSD 8.2 complained about a cast between
a pointer and a smaller integer.  Going through an intermediate
cast shuts up the compiler.

* src/util/threads-pthread.c (virThreadSelfID): Silence a warning.
src/util/threads-pthread.c