projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f7d011
)
; Avoid compiler warning in w32term.c
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 17 May 2024 06:43:20 +0000
(09:43 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 17 May 2024 06:43:20 +0000
(09:43 +0300)
* src/w32term.c (w32_draw_glyphless_glyph_string_foreground):
Avoid GCC 14 warning about storing address of local variable.
src/w32term.c
patch
|
blob
|
history
diff --git
a/src/w32term.c
b/src/w32term.c
index a9aff30477139d18da1e09e772bdf43115d79f10..2bcd5d86a3863f27259e6b2a87fe81374714e680 100644
(file)
--- a/
src/w32term.c
+++ b/
src/w32term.c
@@
-1455,7
+1455,7
@@
static void
w32_draw_glyphless_glyph_string_foreground (struct glyph_string *s)
{
struct glyph *glyph = s->first_glyph;
- unsigned char2b[8];
+
static
unsigned char2b[8];
int x, i, j;
bool with_background;