secur32: Fix a ptrdiff_t warning on 64-bit.

Nicolas Le Cam niko.lecam at gmail.com
Sun Jan 10 16:11:55 CST 2010


-- 
Nicolas Le Cam
-------------- next part --------------
From 4e467cf491ed7836e72a3bacd435a4853af7fa5a Mon Sep 17 00:00:00 2001
From: Nicolas Le Cam <niko.lecam at gmail.com>
Date: Sun, 10 Jan 2010 19:39:55 +0100
Subject: secur32: Fix a ptrdiff_t warning on 64-bit.

---
 dlls/secur32/schannel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/secur32/schannel.c b/dlls/secur32/schannel.c
index 27cb1b7..73ae64a 100644
--- a/dlls/secur32/schannel.c
+++ b/dlls/secur32/schannel.c
@@ -133,7 +133,7 @@ static ULONG_PTR schan_alloc_handle(void *object, enum schan_handle_type type)
         handle = schan_free_handles;
         if (handle->type != SCHAN_HANDLE_FREE)
         {
-            ERR("Handle %d(%p) is in the free list, but has type %#x.\n", (handle-schan_handle_table), handle, handle->type);
+            ERR("Handle %tu(%p) is in the free list, but has type %#x.\n", (handle-schan_handle_table), handle, handle->type);
             return SCHAN_INVALID_HANDLE;
         }
         schan_free_handles = handle->object;
-- 
1.6.3.3


More information about the wine-patches mailing list