commit 9d22fe3a0d1b643a265c9cb4ef9498cc15a0c38a
parent 42d934c284a1a3efdf98f4dd96071ef44c5c59a5
Author: Jonathan Boeing <jonathan@claws-mail.org>
Date: Sat, 4 Nov 2023 17:50:15 -0700
Fix size_t format specifier warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/prefs_account.c b/src/prefs_account.c
@@ -6175,7 +6175,7 @@ static void prefs_account_oauth2_listener(GTask *task, gpointer source, gpointer
"</title><meta charset=\"utf-8\"></head><body><h1>", title,
"</h1><p>", body, "</p></body></html>", NULL);
reply = g_strdup_printf(
- "HTTP/1.0 200 OK\r\nContent-Type: text/html\r\nContent-Length: %lu\r\n\r\n%s",
+ "HTTP/1.0 200 OK\r\nContent-Type: text/html\r\nContent-Length: %" G_GSIZE_FORMAT "\r\n\r\n%s",
strlen(reply_message), reply_message);
g_free(reply_message);
write(client_sock, reply, strlen(reply));