aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2024-05-17 09:43:20 +0300
committerEli Zaretskii2024-05-17 09:43:20 +0300
commit6ca3a60db3427bc6aef08144c1524920ff3d9c4d (patch)
treec1707ce5c010fda53f45420078f2a14454b627ed /src
parent2f7d011d180b1e8d8dc6784cd9b48cf5690b7c62 (diff)
downloademacs-6ca3a60db3427bc6aef08144c1524920ff3d9c4d.tar.gz
emacs-6ca3a60db3427bc6aef08144c1524920ff3d9c4d.zip
; Avoid compiler warning in w32term.c
* src/w32term.c (w32_draw_glyphless_glyph_string_foreground): Avoid GCC 14 warning about storing address of local variable.
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32term.c b/src/w32term.c
index a9aff304771..2bcd5d86a38 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1455,7 +1455,7 @@ static void
1455w32_draw_glyphless_glyph_string_foreground (struct glyph_string *s) 1455w32_draw_glyphless_glyph_string_foreground (struct glyph_string *s)
1456{ 1456{
1457 struct glyph *glyph = s->first_glyph; 1457 struct glyph *glyph = s->first_glyph;
1458 unsigned char2b[8]; 1458 static unsigned char2b[8];
1459 int x, i, j; 1459 int x, i, j;
1460 bool with_background; 1460 bool with_background;
1461 1461