diff options
Diffstat (limited to 'zap/source/any/mem/utf8declen.c')
-rw-r--r-- | zap/source/any/mem/utf8declen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zap/source/any/mem/utf8declen.c b/zap/source/any/mem/utf8declen.c index 81fd274..99c224b 100644 --- a/zap/source/any/mem/utf8declen.c +++ b/zap/source/any/mem/utf8declen.c @@ -6,11 +6,11 @@ #include <zap/mem.h> -zap_sz zap_utf8declen(zap_chr8 const * const _buf) { +zap_sz zap_utf8declen(zap_i8 const * const _buf) { zap_sz len = 0x0u; - zap_chr8 const * pos; + zap_i8 const * pos; for (pos = _buf;;++len) { - zap_chr8 const oct = *pos; + zap_i8 const oct = *pos; if (oct == 0x0u) { break; } |