summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven G. Johnson <stevenj@alum.mit.edu>2016-12-11 16:17:11 -0500
committerSteven G. Johnson <stevenj@alum.mit.edu>2016-12-11 16:17:11 -0500
commit78f336addd5c179f0d21a05f15014945084d9e68 (patch)
treeb3754fa8f09a67db805b21a2d2baaf7764761b74
parent59334e44999a527ee27f29e8dddd9daa1fda1980 (diff)
downloadlibutf8proc-78f336addd5c179f0d21a05f15014945084d9e68.tar.gz
libutf8proc-78f336addd5c179f0d21a05f15014945084d9e68.tar.bz2
use ptrdiff_t rather than ssize_t, as ssize_t is non-standard (it is POSIX, not C)
-rw-r--r--utf8proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8proc.h b/utf8proc.h
index 99b4fdb..8b5ec70 100644
--- a/utf8proc.h
+++ b/utf8proc.h
@@ -114,7 +114,7 @@ typedef uint16_t utf8proc_uint16_t;
typedef int32_t utf8proc_int32_t;
typedef uint32_t utf8proc_uint32_t;
typedef size_t utf8proc_size_t;
-typedef ssize_t utf8proc_ssize_t;
+typedef ptrdiff_t utf8proc_ssize_t;
typedef bool utf8proc_bool;
#endif
#include <limits.h>