Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-12-13 15:09:40 +0300
committerJunio C Hamano <gitster@pobox.com>2022-12-13 15:09:40 +0300
commit8a755eddf5bf256613bc584f32cd44401a25897c (patch)
treeb5d92c6283e1b889bf50ff7056dfb1196e9277ac /utf8.h
parentaf778cd9be6307e34f9f900fd42eb826c65b32da (diff)
parent82689d5e5d3f41da2ab1fbf9fbe7aacfd6da74c1 (diff)
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);