summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-28 17:04:19 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-28 17:04:19 +0100
commit5348ef2088cfaa03546e3857ec8fb9f9848a90e5 (patch)
tree7f8d465bfa443c504d6f0b140e1698d7af32267e
parent9f770629606ca58c78b411e73696eec275c328a5 (diff)
Fix format warning.
-rw-r--r--src/mutex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutex.cc b/src/mutex.cc
index a932789..b7e82d9 100644
--- a/src/mutex.cc
+++ b/src/mutex.cc
@@ -79,7 +79,7 @@ bool Mutex::try_lock()
DWORD result = WaitForSingleObject(prv->mutex, 0);
- DEBUG(mutex, "WAIT_OBJECT_0: %lu, WAIT_TIMEOUT: %lu, result: %d\n",
+ DEBUG(mutex, "WAIT_OBJECT_0: %lu, WAIT_TIMEOUT: %lu, result: %u\n",
WAIT_OBJECT_0, WAIT_TIMEOUT, result);
return result != WAIT_TIMEOUT;