mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
From d58367e7c5b1d41e9c60dc46a9f032090b43443f Mon Sep 17 00:00:00 2001
|
|
From: Chris Talbot <chris@talbothome.com>
|
|
Date: Mon, 19 Feb 2024 08:47:40 -0700
|
|
Subject: [PATCH 1/3] service: fix formatting to allow compiling on i386
|
|
|
|
---
|
|
src/service.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/service.c b/src/service.c
|
|
index 2609d84..3c82439 100644
|
|
--- a/src/service.c
|
|
+++ b/src/service.c
|
|
@@ -1010,7 +1010,7 @@ send_message_get_attachments (GVariant *attachments,
|
|
int attach_total_size = 0;
|
|
|
|
number_of_attachments = g_variant_iter_init (&iter, attachments);
|
|
- DBG ("number_of_attachments %ld", number_of_attachments);
|
|
+ DBG ("number_of_attachments %" G_GSIZE_FORMAT, number_of_attachments);
|
|
|
|
if (number_of_attachments > service->max_attachments)
|
|
{
|
|
@@ -3940,7 +3940,7 @@ process_request (struct mms_request *request)
|
|
service->cancel_current_msg = g_cancellable_new ();
|
|
soup_session_send_and_read_async (request->service->web, msg, 0, service->cancel_current_msg,
|
|
(GAsyncReadyCallback)on_message_done, request);
|
|
- DBG ("POST %lu bytes to %s", length, service->mmsc);
|
|
+ DBG ("POST %" G_GSIZE_FORMAT " bytes to %s", length, service->mmsc);
|
|
DBG ("Sending <%s>", request->data_to_post_path);
|
|
|
|
return msg;
|
|
--
|
|
2.44.0
|
|
|