From 6ebd0bc7a68c8eb143ba8e9c81ea585d010b4475 Mon Sep 17 00:00:00 2001 From: Chip Salzenberg Date: Mon, 30 Sep 2013 16:56:01 -0700 Subject: [PATCH] fix type mismatch anywhere int != int32 (Vorne) --- src/utf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utf.h b/src/utf.h index 1409865..81f85ab 100644 --- a/src/utf.h +++ b/src/utf.h @@ -28,7 +28,7 @@ typedef int int32_t; #endif /* HAVE_CONFIG_H */ -int utf8_encode(int codepoint, char *buffer, size_t *size); +int utf8_encode(int32_t codepoint, char *buffer, size_t *size); size_t utf8_check_first(char byte); size_t utf8_check_full(const char *buffer, size_t size, int32_t *codepoint);