]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Avoid compiler warnings about int -> void * casts
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 5 Apr 2011 14:59:17 +0000 (15:59 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 5 Apr 2011 16:43:33 +0000 (17:43 +0100)
commit5b099250e34194bb86471e49ed46963ee6bdb0ba
treec117db03c13501d0e9f7c5fcaac50c9ba7f609c2
parentfdcd06ef71ba19129b0cb8d282243b619113b31d
Avoid compiler warnings about int -> void * casts

GCC is a little confused about the cast of beginthread/beginthreadex
from unsigned long -> void *. Go via an intermediate variable avoids
the bogus warning, and makes the code a little cleaner

* src/util/threads-win32.c: Avoid compiler warning in cast
src/util/threads-win32.c