Skip to content

Commit b124fe6

Browse files
authored
Fix build with GCC 14 (#17282)
1 parent 9a5b206 commit b124fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/drivers/platform_unix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ static size_t frontend_unix_get_os(char *s,
12521252
char *ptr;
12531253
struct utsname buffer;
12541254
if (uname(&buffer) != 0)
1255-
return;
1255+
return _len;
12561256
*major = (int)strtol(buffer.release, &ptr, 10);
12571257
*minor = (int)strtol(++ptr, NULL, 10);
12581258
#if defined(__FreeBSD__)

0 commit comments

Comments
 (0)