core,w32: Silence compiler warnings.

* src/w32-util.c (_gpgme_w32_cancel_synchronous_io): Add some casts.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2019-11-27 20:38:47 +01:00
parent 1b2ad3b73c
commit d480a3c8f3
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -308,10 +308,11 @@ _gpgme_w32_cancel_synchronous_io (HANDLE thread)
if (func) if (func)
{ {
if (!func (thread) && GetLastError() != ERROR_NOT_FOUND) if (!func ((DWORD)thread) && GetLastError() != ERROR_NOT_FOUND)
{ {
TRACE (DEBUG_ENGINE, "gpgme:CancelSynchronousIo", NULL, 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 else