summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-12-13 21:09:40 +0900
committerJunio C Hamano <gitster@pobox.com>2022-12-13 21:09:40 +0900
commit8a755eddf5bf256613bc584f32cd44401a25897c (patch)
treeb5d92c6283e1b889bf50ff7056dfb1196e9277ac /utf8.h
parentaf778cd9be6307e34f9f900fd42eb826c65b32da (diff)
parent82689d5e5d3f41da2ab1fbf9fbe7aacfd6da74c1 (diff)
downloadgit-8a755eddf5bf256613bc584f32cd44401a25897c.tar.gz
Sync with Git 2.31.6
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.h b/utf8.h
index 9a16c8679d..b68efef6f4 100644
--- a/utf8.h
+++ b/utf8.h
@@ -7,7 +7,7 @@ typedef unsigned int ucs_char_t; /* assuming 32bit int */
size_t display_mode_esc_sequence_len(const char *s);
int utf8_width(const char **start, size_t *remainder_p);
-int utf8_strnwidth(const char *string, int len, int skip_ansi);
+int utf8_strnwidth(const char *string, size_t len, int skip_ansi);
int utf8_strwidth(const char *string);
int is_utf8(const char *text);
int is_encoding_utf8(const char *name);