Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
dbd473ff
Commit
dbd473ff
authored
Jun 13, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Use unsigned int instead of size_t to avoid printf format warnings.
parent
043fd669
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
context.c
dlls/crypt32/context.c
+1
-1
crypt32_private.h
dlls/crypt32/crypt32_private.h
+1
-1
store.c
dlls/crypt32/store.c
+1
-1
No files found.
dlls/crypt32/context.c
View file @
dbd473ff
...
@@ -74,7 +74,7 @@ void *Context_CreateDataContext(size_t contextSize)
...
@@ -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
in
t
extra
,
BOOL
addRef
)
BOOL
addRef
)
{
{
void
*
context
=
CryptMemAlloc
(
contextSize
+
sizeof
(
LINK_CONTEXT
)
+
extra
);
void
*
context
=
CryptMemAlloc
(
contextSize
+
sizeof
(
LINK_CONTEXT
)
+
extra
);
...
...
dlls/crypt32/crypt32_private.h
View file @
dbd473ff
...
@@ -115,7 +115,7 @@ void *Context_CreateDataContext(size_t contextSize);
...
@@ -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
in
t
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
...
...
dlls/crypt32/store.c
View file @
dbd473ff
...
@@ -377,7 +377,7 @@ static void *CRYPT_CollectionCreateContextFromChild(PWINE_COLLECTIONSTORE store,
...
@@ -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
in
t
contextSize
,
void
**
pChildContext
)
void
**
pChildContext
)
{
{
BOOL
ret
;
BOOL
ret
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment