Merge branch '3527-Wshorten-64-to-32' into 'main'

Fix various -Wshorten-64-to-32 warnings

See merge request GNOME/glib!4387
This commit is contained in:
Philip Withnall
2025-04-03 15:07:09 +00:00
12 changed files with 541 additions and 271 deletions

View File

@@ -129,7 +129,7 @@ journal_stream_fd (const char *identifier,
if (fd < 0)
goto fail;
salen = offsetof (struct sockaddr_un, sun_path) + strlen (sa.un.sun_path) + 1;
salen = offsetof (struct sockaddr_un, sun_path) + (socklen_t) strlen (sa.un.sun_path) + 1;
if (connect (fd, &sa.sa, salen) < 0)
goto fail;