[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 04/09: Fix GCC warning with %char-set-dump.
From: |
Andy Wingo |
Subject: |
[Guile-commits] 04/09: Fix GCC warning with %char-set-dump. |
Date: |
Sun, 7 Oct 2018 10:48:01 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit 173b44a224d0c4ee7801d2a7e8550d4d6a45e115
Author: Andy Wingo <address@hidden>
Date: Sun Oct 7 16:14:06 2018 +0200
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.
---
libguile/srfi-14.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libguile/srfi-14.c b/libguile/srfi-14.c
index b266400..42ee85d 100644
--- a/libguile/srfi-14.c
+++ b/libguile/srfi-14.c
@@ -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);
- [Guile-commits] branch master updated (6cd9b31 -> 5787f4e), Andy Wingo, 2018/10/07
- [Guile-commits] 02/09: Remove unimplemented decl in script.h, Andy Wingo, 2018/10/07
- [Guile-commits] 01/09: Comment out some unused definitions, Andy Wingo, 2018/10/07
- [Guile-commits] 03/09: Deprecate scm_find_executable, Andy Wingo, 2018/10/07
- [Guile-commits] 06/09: Revert "Remove jit_names.c.", Andy Wingo, 2018/10/07
- [Guile-commits] 04/09: Fix GCC warning with %char-set-dump.,
Andy Wingo <=
- [Guile-commits] 08/09: Fix unused local warning in vm-engine.c, Andy Wingo, 2018/10/07
- [Guile-commits] 07/09: Fix lightning build with jit_names.c, Andy Wingo, 2018/10/07
- [Guile-commits] 05/09: Remove jit_names.c., Andy Wingo, 2018/10/07
- [Guile-commits] 09/09: Fix -Wunused-function error for x86 not on sun, Andy Wingo, 2018/10/07