diff options
author | Jeff King <peff@peff.net> | 2018-07-24 06:50:33 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-24 10:19:29 -0700 |
commit | c7d017d7e1cca37ca20f73c11fa9f1b319a2c3a5 (patch) | |
tree | 41b17395ddd01ae0436d78b906578f7b4861c054 /ws.c | |
parent | reencode_string: use st_add/st_mult helpers (diff) | |
download | tgif-c7d017d7e1cca37ca20f73c11fa9f1b319a2c3a5.tar.xz |
reencode_string: use size_t for string lengths
The iconv interface takes a size_t, which is the appropriate
type for an in-memory buffer. But our reencode_string_*
functions use integers, meaning we may get confusing results
when the sizes exceed INT_MAX. Let's use size_t
consistently.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ws.c')
0 files changed, 0 insertions, 0 deletions