Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
reencode_string: use size_t for string lengths
[gitweb.git]
/
pretty.c
diff --git
a/pretty.c
b/pretty.c
index 703fa6ff7bf297e9d0dd91586f951f715032e06a..e1e4060243ccff33c1af820cdfc1fe2955e57e0f 100644
(file)
--- a/
pretty.c
+++ b/
pretty.c
@@
-1538,7
+1538,7
@@
void format_commit_message(const struct commit *commit,
}
if (output_enc) {
-
in
t outsz;
+
size_
t outsz;
char *out = reencode_string_len(sb->buf, sb->len,
output_enc, utf8, &outsz);
if (out)