Commit b6b2d9d78a54aa11708ea300b47e9c6e5cb85bcc

Edward Thomson 2019-06-25T15:05:23

examples: ssize_t is signed, not unsigned

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/examples/index-pack.c b/examples/index-pack.c
index 641587e..0941e09 100644
--- a/examples/index-pack.c
+++ b/examples/index-pack.c
@@ -11,7 +11,7 @@
 # define read _read
 # define close _close
 
-#define ssize_t unsigned int
+#define ssize_t int
 #else
 # include <unistd.h>
 #endif