summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/ntop.c2
-rw-r--r--libc/misc/sysvipc/sem.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/ntop.c b/libc/inet/ntop.c
index 521c1de63..32f88e20c 100644
--- a/libc/inet/ntop.c
+++ b/libc/inet/ntop.c
@@ -360,7 +360,7 @@ inet_ntop(af, src, dst, size)
int af;
const void *src;
char *dst;
- size_t size;
+ socklen_t size;
{
switch (af) {
case AF_INET:
diff --git a/libc/misc/sysvipc/sem.c b/libc/misc/sysvipc/sem.c
index 83724d4c6..2cb85a83e 100644
--- a/libc/misc/sysvipc/sem.c
+++ b/libc/misc/sysvipc/sem.c
@@ -72,7 +72,7 @@ int
semop (semid, sops, nsops)
int semid;
struct sembuf *sops;
- unsigned int nsops;
+ size_t nsops;
{
return __ipc(IPCOP_semop, semid, (int) nsops, 0, sops);
}