[libdmapsharing] Fix a format string that was wrong on 32-bit x86



commit 4a3a768ebe99beecc65b326d02f9f5cef187a5db
Author: W. Michael Petullo <mike flyn org>
Date:   Mon Jun 29 15:15:09 2020 -0500

    Fix a format string that was wrong on 32-bit x86
    
    Closes #12.

 libdmapsharing/dmap-private-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libdmapsharing/dmap-private-utils.c b/libdmapsharing/dmap-private-utils.c
index 66403bb..be1d8d4 100644
--- a/libdmapsharing/dmap-private-utils.c
+++ b/libdmapsharing/dmap-private-utils.c
@@ -36,7 +36,7 @@ dmap_private_utils_write_next_chunk (SoupMessage * message, ChunkData * cd)
        if (read_size > 0) {
                soup_message_body_append (message->response_body,
                                          SOUP_MEMORY_TAKE, chunk, read_size);
-               g_debug ("Read/wrote %ld bytes.", read_size);
+               g_debug ("Read/wrote %zd bytes.", read_size);
        } else {
                if (error != NULL) {
                        g_warning ("Error reading from input stream: %s",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]