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
e659f1e6
Commit
e659f1e6
authored
Aug 09, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some gcc 4.0 warnings.
parent
b0e091ac
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
7 deletions
+6
-7
named_pipe.c
server/named_pipe.c
+1
-1
registry.c
server/registry.c
+1
-1
request.c
server/request.c
+1
-1
sock.c
server/sock.c
+1
-2
thread.c
server/thread.c
+2
-2
No files found.
server/named_pipe.c
View file @
e659f1e6
...
...
@@ -712,7 +712,7 @@ DECL_HANDLER(wait_named_pipe)
}
else
{
unsigned
int
timeout
;
int
timeout
;
if
(
req
->
timeout
==
NMPWAIT_USE_DEFAULT_WAIT
)
timeout
=
pipe
->
timeout
;
else
...
...
server/registry.c
View file @
e659f1e6
...
...
@@ -879,7 +879,7 @@ static void set_value( struct key *key, WCHAR *name, int type, const void *data,
}
/* get a key value */
static
void
get_value
(
struct
key
*
key
,
const
WCHAR
*
name
,
int
*
type
,
int
*
len
)
static
void
get_value
(
struct
key
*
key
,
const
WCHAR
*
name
,
int
*
type
,
unsigned
int
*
len
)
{
struct
key_value
*
value
;
int
index
;
...
...
server/request.c
View file @
e659f1e6
...
...
@@ -488,7 +488,7 @@ static void master_socket_poll_event( struct fd *fd, int event )
else
if
(
event
&
POLLIN
)
{
struct
sockaddr_un
dummy
;
int
len
=
sizeof
(
dummy
);
unsigned
int
len
=
sizeof
(
dummy
);
int
client
=
accept
(
get_unix_fd
(
master_socket
->
fd
),
(
struct
sockaddr
*
)
&
dummy
,
&
len
);
if
(
client
==
-
1
)
return
;
if
(
sock
->
timeout
)
...
...
server/sock.c
View file @
e659f1e6
...
...
@@ -623,7 +623,6 @@ static struct sock *accept_socket( obj_handle_t handle )
struct
sock
*
sock
;
int
acceptfd
;
struct
sockaddr
saddr
;
int
slen
;
sock
=
(
struct
sock
*
)
get_handle_obj
(
current
->
process
,
handle
,
GENERIC_READ
|
GENERIC_WRITE
|
SYNCHRONIZE
,
&
sock_ops
);
...
...
@@ -642,7 +641,7 @@ static struct sock *accept_socket( obj_handle_t handle )
* or that accept() is allowed on it. In those cases we will get -1/errno
* return.
*/
slen
=
sizeof
(
saddr
);
unsigned
int
slen
=
sizeof
(
saddr
);
acceptfd
=
accept
(
get_unix_fd
(
sock
->
fd
),
&
saddr
,
&
slen
);
if
(
acceptfd
==-
1
)
{
...
...
server/thread.c
View file @
e659f1e6
...
...
@@ -734,8 +734,8 @@ static void get_selector_entry( struct thread *thread, int entry,
{
unsigned
char
flags_buf
[
4
];
int
*
addr
=
(
int
*
)
thread
->
process
->
ldt_copy
+
entry
;
if
(
read_thread_int
(
thread
,
addr
,
base
)
==
-
1
)
goto
done
;
if
(
read_thread_int
(
thread
,
addr
+
8192
,
limit
)
==
-
1
)
goto
done
;
if
(
read_thread_int
(
thread
,
addr
,
(
int
*
)
base
)
==
-
1
)
goto
done
;
if
(
read_thread_int
(
thread
,
addr
+
8192
,
(
int
*
)
limit
)
==
-
1
)
goto
done
;
addr
=
(
int
*
)
thread
->
process
->
ldt_copy
+
2
*
8192
+
(
entry
>>
2
);
if
(
read_thread_int
(
thread
,
addr
,
(
int
*
)
flags_buf
)
==
-
1
)
goto
done
;
*
flags
=
flags_buf
[
entry
&
3
];
...
...
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