summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/utf8proc/test/tests.c
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/utf8proc/test/tests.c')
-rw-r--r--3rdparty/utf8proc/test/tests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/3rdparty/utf8proc/test/tests.c b/3rdparty/utf8proc/test/tests.c
index 629edfff373..68b21e7f02a 100644
--- a/3rdparty/utf8proc/test/tests.c
+++ b/3rdparty/utf8proc/test/tests.c
@@ -29,7 +29,8 @@ size_t skipspaces(const unsigned char *buf, size_t i)
in dest, returning the number of bytes read from buf */
size_t encode(unsigned char *dest, const unsigned char *buf)
{
- size_t i = 0, j, d = 0;
+ size_t i = 0, j;
+ utf8proc_ssize_t d = 0;
for (;;) {
int c;
i = skipspaces(buf, i);