projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec8346
)
para_accept(): Use socklen_t instead of size_t
author
Andre
<maan@p133.(none)>
Sun, 5 Mar 2006 12:08:35 +0000
(13:08 +0100)
committer
Andre
<maan@p133.(none)>
Sun, 5 Mar 2006 12:08:35 +0000
(13:08 +0100)
Fixes the following warning on x86_64:
net.c:76: warning: int format, different type arg (arg 4)
net.c
patch
|
blob
|
history
diff --git
a/net.c
b/net.c
index
9c646e9
..
0a0d803
100644
(file)
--- a/
net.c
+++ b/
net.c
@@
-253,7
+253,7
@@
int para_connect(int fd, struct sockaddr_in *their_addr)
*
* \sa accept(2).
*/
-int para_accept(int fd, void *addr, s
ize
_t size)
+int para_accept(int fd, void *addr, s
ocklen
_t size)
{
int new_fd;