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
793e1179
Commit
793e1179
authored
Apr 17, 2001
by
Joerg Mayer
Committed by
Alexandre Julliard
Apr 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use of proper test gets rid of a signed/unsigned warning.
parent
8f7ac8b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
socket.c
dlls/wsock32/socket.c
+2
-2
No files found.
dlls/wsock32/socket.c
View file @
793e1179
...
@@ -193,7 +193,7 @@ DWORD WINAPI WsControl(DWORD protocoll,
...
@@ -193,7 +193,7 @@ DWORD WINAPI WsControl(DWORD protocoll,
}
}
/* Get a socket so that we can use ioctl */
/* Get a socket so that we can use ioctl */
if
(
(
sock
=
socket
(
AF_INET
,
SOCK_DGRAM
,
0
))
<
0
)
if
(
(
sock
=
socket
(
AF_INET
,
SOCK_DGRAM
,
0
))
==
INVALID_SOCKET
)
{
{
ERR
(
"Error creating socket!
\n
"
);
ERR
(
"Error creating socket!
\n
"
);
return
(
-
1
);
return
(
-
1
);
...
@@ -359,7 +359,7 @@ DWORD WINAPI WsControl(DWORD protocoll,
...
@@ -359,7 +359,7 @@ DWORD WINAPI WsControl(DWORD protocoll,
/* Get a socket so we can use ioctl */
/* Get a socket so we can use ioctl */
if
(
(
sock
=
socket
(
AF_INET
,
SOCK_DGRAM
,
0
))
<
0
)
if
(
(
sock
=
socket
(
AF_INET
,
SOCK_DGRAM
,
0
))
==
INVALID_SOCKET
)
{
{
ERR
(
"Error creating socket!
\n
"
);
ERR
(
"Error creating socket!
\n
"
);
return
(
-
1
);
return
(
-
1
);
...
...
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