summaryrefslogtreecommitdiff
path: root/examples/index-pack.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2019-07-05 11:56:16 +0200
committerGitHub <noreply@github.com>2019-07-05 11:56:16 +0200
commit398412ccd3f982e2bc1de16d87bd00f27580c256 (patch)
tree1168ce0d4235b4f93f74991eeaf203f3c880343d /examples/index-pack.c
parent5c87b5a8f703352f7d80841b30ee7c3e09a1a12a (diff)
parenta3afda9fb4d6b7e875c4e5163a85a81c46895fbf (diff)
downloadlibgit2-398412ccd3f982e2bc1de16d87bd00f27580c256.tar.gz
Merge pull request #5143 from libgit2/ethomson/warnings
ci: build with ENABLE_WERROR on Windows
Diffstat (limited to 'examples/index-pack.c')
-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