summaryrefslogtreecommitdiff
path: root/test/tests.h
diff options
context:
space:
mode:
authorSteven G. Johnson <stevenj@mit.edu>2015-04-09 11:36:40 -0400
committerSteven G. Johnson <stevenj@mit.edu>2015-04-09 11:36:40 -0400
commit7c14ef5f8371e463a01e0f1de971caa600384390 (patch)
tree859d990277010fe6fa5d7d3e3ed53081cbee9388 /test/tests.h
parent498ecbddd87f2555a730e90810db7744cf416b82 (diff)
parent0a818c700353194d85baaf6a2f7f6ea32686b922 (diff)
downloadlibutf8proc-7c14ef5f8371e463a01e0f1de971caa600384390.tar.gz
libutf8proc-7c14ef5f8371e463a01e0f1de971caa600384390.tar.bz2
Merge pull request #32 from JuliaLang/tk/ssize_t_typedef
Use a typedef instead of a #define for ssize_t with MSVC
Diffstat (limited to 'test/tests.h')
-rw-r--r--test/tests.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tests.h b/test/tests.h
index d4897f8..c27185d 100644
--- a/test/tests.h
+++ b/test/tests.h
@@ -47,7 +47,7 @@ size_t encode(char *dest, const char *buf)
}
check(sscanf(buf + i, "%x", &c) == 1, "invalid hex input %s", buf+i);
i = j; /* skip to char after hex input */
- d += utf8proc_encode_char(c, (uint8_t *) (dest + d));
+ d += utf8proc_encode_char(c, (utf8proc_uint8_t *) (dest + d));
} while (1);
}