mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 12:18:08 -07:00
Closes: https://bugs.gentoo.org/943982 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/19 Merges: https://codeberg.org/gentoo/gentoo/pulls/19 Signed-off-by: Sam James <sam@gentoo.org>
25 lines
721 B
Diff
25 lines
721 B
Diff
Fix build with GCC 15
|
|
|
|
https://bugs.gentoo.org/943982
|
|
|
|
--- a/src/c-lex.c
|
|
+++ b/src/c-lex.c
|
|
@@ -887,7 +887,7 @@ static inline int backslash(int c)
|
|
case 'x':
|
|
c1 = buffer_peek_char();
|
|
if (is_hex_digit_char(c1)) {
|
|
- return readx(c1);
|
|
+ return readx();
|
|
} else {
|
|
Scm_Error("\\x must be followed by hex-digit, but got '%c'", c1);
|
|
}
|
|
@@ -934,7 +934,7 @@ static inline int backslash(int c)
|
|
SCM_LIST1(SCM_MAKE_CHAR(c)));
|
|
return c;
|
|
} else {
|
|
- return buffer_read_char(c);
|
|
+ return buffer_read_char();
|
|
}
|
|
}
|
|
} else {
|