summaryrefslogtreecommitdiff
path: root/test/tests.h
diff options
context:
space:
mode:
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);
}