]> git.proxmox.com Git - qemu.git/blobdiff - qemu-thread-posix.c
Avoid asprintf() which is not available on mingw
[qemu.git] / qemu-thread-posix.c
index 9e1b5fbdaa0171e233ef156ac536617510f92274..8fbabdac36442e629c7e0f1a17350f9b71d2e222 100644 (file)
@@ -151,7 +151,7 @@ void qemu_thread_get_self(QemuThread *thread)
     thread->thread = pthread_self();
 }
 
-int qemu_thread_is_self(QemuThread *thread)
+bool qemu_thread_is_self(QemuThread *thread)
 {
    return pthread_equal(pthread_self(), thread->thread);
 }