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:20:35 +0300
committerJunio C Hamano <gitster@pobox.com>2022-12-13 15:20:35 +0300
commit431f6e67e620f1b4f9acfddd356b56a3fd5c5e79 (patch)
treea8b7ed273a64477bb7e605acf611edfb866860f0 /utf8.h
parent83d5e3341b69b3116675f13d2fab208a12c79e27 (diff)
parentad949b24f8d6ee4767c07794a2f01ada91b46b74 (diff)
Merge branch 'maint-2.36' into maint-2.37
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);