mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-30 06:50:31 +02:00
Fix GCC warning with %char-set-dump.
* libguile/srfi-14.c (scm_sys_char_set_dump): Silence an erroneous -Wformat-overflow warning based on an incorrect range inference by increasing output buffer size.
This commit is contained in:
parent
f34d50ad6b
commit
173b44a224
1 changed files with 1 additions and 1 deletions
|
@ -2045,7 +2045,7 @@ SCM_DEFINE (scm_sys_char_set_dump, "%char-set-dump", 1, 0, 0, (SCM charset),
|
|||
SCM ranges = SCM_EOL, elt;
|
||||
size_t i;
|
||||
scm_t_char_set *cs;
|
||||
char codepoint_string_lo[9], codepoint_string_hi[9];
|
||||
char codepoint_string_lo[13], codepoint_string_hi[13];
|
||||
|
||||
SCM_VALIDATE_SMOB (1, charset, charset);
|
||||
cs = SCM_CHARSET_DATA (charset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue