Alexandre Julliard : crypt32:
Use unsigned int instead of size_t to avoid printf format warnings.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jun 14 06:51:09 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: dbd473ff79225abc91c00af9dc94ea251105545a
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=dbd473ff79225abc91c00af9dc94ea251105545a
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jun 13 14:14:00 2006 +0200
crypt32: Use unsigned int instead of size_t to avoid printf format warnings.
---
dlls/crypt32/context.c | 2 +-
dlls/crypt32/crypt32_private.h | 2 +-
dlls/crypt32/store.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/crypt32/context.c b/dlls/crypt32/context.c
index 558be9d..1b2f7d1 100644
--- a/dlls/crypt32/context.c
+++ b/dlls/crypt32/context.c
@@ -74,7 +74,7 @@ void *Context_CreateDataContext(size_t c
return ret;
}
-void *Context_CreateLinkContext(size_t contextSize, void *linked, size_t extra,
+void *Context_CreateLinkContext(unsigned int contextSize, void *linked, unsigned int extra,
BOOL addRef)
{
void *context = CryptMemAlloc(contextSize + sizeof(LINK_CONTEXT) + extra);
diff --git a/dlls/crypt32/crypt32_private.h b/dlls/crypt32/crypt32_private.h
index 8ac0484..3ef44b4 100644
--- a/dlls/crypt32/crypt32_private.h
+++ b/dlls/crypt32/crypt32_private.h
@@ -115,7 +115,7 @@ void *Context_CreateDataContext(size_t c
* it should be) linked is addref'd.
* Free with Context_Release.
*/
-void *Context_CreateLinkContext(size_t contextSize, void *linked, size_t extra,
+void *Context_CreateLinkContext(unsigned int contextSize, void *linked, unsigned int extra,
BOOL addRef);
/* Returns a pointer to the extra bytes allocated with context, which must be
diff --git a/dlls/crypt32/store.c b/dlls/crypt32/store.c
index 2ea714e..95b91da 100644
--- a/dlls/crypt32/store.c
+++ b/dlls/crypt32/store.c
@@ -377,7 +377,7 @@ static void *CRYPT_CollectionCreateConte
}
static BOOL CRYPT_CollectionAddContext(PWINE_COLLECTIONSTORE store,
- size_t contextStoreOffset, void *context, void *toReplace, size_t contextSize,
+ unsigned int contextStoreOffset, void *context, void *toReplace, unsigned int contextSize,
void **pChildContext)
{
BOOL ret;
More information about the wine-cvs
mailing list