summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-25 15:05:23 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-25 15:22:46 +0100
commitb6b2d9d78a54aa11708ea300b47e9c6e5cb85bcc (patch)
treecdd48527298a1abf317e6d04f334acd271ce2921 /examples
parentcd67a9039cbaedaf9e23ab2e6eb0fc1f7292e057 (diff)
downloadlibgit2-b6b2d9d78a54aa11708ea300b47e9c6e5cb85bcc.tar.gz
examples: ssize_t is signed, not unsigned
Diffstat (limited to 'examples')
-rw-r--r--examples/index-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/index-pack.c b/examples/index-pack.c
index 641587ee3..0941e09e7 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