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
52e68a78
Commit
52e68a78
authored
Aug 17, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Avoid ssize_t type that causes printf format warnings.
parent
433b7c04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
schannel_gnutls.c
dlls/secur32/schannel_gnutls.c
+2
-2
No files found.
dlls/secur32/schannel_gnutls.c
View file @
52e68a78
...
@@ -402,7 +402,7 @@ SECURITY_STATUS schan_imp_send(schan_imp_session session, const void *buffer,
...
@@ -402,7 +402,7 @@ SECURITY_STATUS schan_imp_send(schan_imp_session session, const void *buffer,
SIZE_T
*
length
)
SIZE_T
*
length
)
{
{
gnutls_session_t
s
=
(
gnutls_session_t
)
session
;
gnutls_session_t
s
=
(
gnutls_session_t
)
session
;
ssize_t
ret
,
total
=
0
;
SSIZE_T
ret
,
total
=
0
;
for
(;;)
for
(;;)
{
{
...
@@ -410,7 +410,7 @@ SECURITY_STATUS schan_imp_send(schan_imp_session session, const void *buffer,
...
@@ -410,7 +410,7 @@ SECURITY_STATUS schan_imp_send(schan_imp_session session, const void *buffer,
if
(
ret
>=
0
)
if
(
ret
>=
0
)
{
{
total
+=
ret
;
total
+=
ret
;
TRACE
(
"sent %
d now %
d/%ld
\n
"
,
ret
,
total
,
*
length
);
TRACE
(
"sent %
ld now %l
d/%ld
\n
"
,
ret
,
total
,
*
length
);
if
(
total
==
*
length
)
return
SEC_E_OK
;
if
(
total
==
*
length
)
return
SEC_E_OK
;
}
}
else
if
(
ret
==
GNUTLS_E_AGAIN
)
else
if
(
ret
==
GNUTLS_E_AGAIN
)
...
...
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