aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32-util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/w32-util.c b/src/w32-util.c
index 82076762..2631ae7c 100644
--- a/src/w32-util.c
+++ b/src/w32-util.c
@@ -308,10 +308,11 @@ _gpgme_w32_cancel_synchronous_io (HANDLE thread)
if (func)
{
- if (!func (thread) && GetLastError() != ERROR_NOT_FOUND)
+ if (!func ((DWORD)thread) && GetLastError() != ERROR_NOT_FOUND)
{
TRACE (DEBUG_ENGINE, "gpgme:CancelSynchronousIo", NULL,
- "called for thread %p: ec=%d", thread, GetLastError ());
+ "called for thread %p: ec=%u",
+ thread, (unsigned int)GetLastError ());
}
}
else