diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/utf8.c | 2 | ||||
-rw-r--r-- | src/common/utf8.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/utf8.c b/src/common/utf8.c index 3c23a1b..c5cfa03 100644 --- a/src/common/utf8.c +++ b/src/common/utf8.c @@ -39,7 +39,7 @@ * * ******************************************************************************/ -unichar_t decode_utf8_char(const char *text, size_t len, size_t *consumed) +unichar_t decode_utf8_char(const unsigned char *text, size_t len, size_t *consumed) { unichar_t result; /* Valeur à retourner */ size_t expected; /* Quantité à traiter */ diff --git a/src/common/utf8.h b/src/common/utf8.h index 1bc6620..4b8437d 100644 --- a/src/common/utf8.h +++ b/src/common/utf8.h @@ -48,7 +48,7 @@ typedef uint32_t unichar_t; /* Procède à la lecture d'un caractère dans une chaîne en UTF-8. */ -unichar_t decode_utf8_char(const char *, size_t, size_t *); +unichar_t decode_utf8_char(const unsigned char *, size_t, size_t *); |