--- a/mercurial/compat.h Sun May 22 13:45:09 2016 +0900
+++ b/mercurial/compat.h Fri Jul 15 23:54:56 2016 +0900
@@ -8,7 +8,7 @@
#if defined(_WIN64)
typedef __int64 ssize_t;
#else
-typedef long ssize_t;
+typedef int ssize_t;
#endif
typedef signed char int8_t;
typedef short int16_t;