be more carful wrt. signed vs. unsigned argument passing
[paraslash.git] / ipc.c
diff --git a/ipc.c b/ipc.c
index b6c525a..acf0249 100644 (file)
--- a/ipc.c
+++ b/ipc.c
@@ -57,7 +57,7 @@ int mutex_destroy(int id)
        return ret < 0? -E_SEM_REMOVE : 1;
 }
 
-static void para_semop(int id, struct sembuf *sops, int num)
+static void para_semop(int id, struct sembuf *sops, unsigned num)
 {
        int i;