forked from Mirrors/wine-wine
crypt32: Use unsigned int instead of size_t to avoid printf format warnings.
parent
043fd66907
commit
dbd473ff79
|
@ -74,7 +74,7 @@ void *Context_CreateDataContext(size_t contextSize)
|
||||||
return ret;
|
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)
|
BOOL addRef)
|
||||||
{
|
{
|
||||||
void *context = CryptMemAlloc(contextSize + sizeof(LINK_CONTEXT) + extra);
|
void *context = CryptMemAlloc(contextSize + sizeof(LINK_CONTEXT) + extra);
|
||||||
|
|
|
@ -115,7 +115,7 @@ void *Context_CreateDataContext(size_t contextSize);
|
||||||
* it should be) linked is addref'd.
|
* it should be) linked is addref'd.
|
||||||
* Free with Context_Release.
|
* 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);
|
BOOL addRef);
|
||||||
|
|
||||||
/* Returns a pointer to the extra bytes allocated with context, which must be
|
/* Returns a pointer to the extra bytes allocated with context, which must be
|
||||||
|
|
|
@ -377,7 +377,7 @@ static void *CRYPT_CollectionCreateContextFromChild(PWINE_COLLECTIONSTORE store,
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL CRYPT_CollectionAddContext(PWINE_COLLECTIONSTORE store,
|
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)
|
void **pChildContext)
|
||||||
{
|
{
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
|
|
Loading…
Reference in New Issue