From 78f336addd5c179f0d21a05f15014945084d9e68 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Sun, 11 Dec 2016 16:17:11 -0500 Subject: use ptrdiff_t rather than ssize_t, as ssize_t is non-standard (it is POSIX, not C) --- utf8proc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3