From 08626a36736bb95da7bc664844c840ba8db72256 Mon Sep 17 00:00:00 2001 From: Andre Date: Wed, 15 Mar 2006 23:58:29 +0100 Subject: [PATCH] More %d -> %zd fixes Noted by Steffen Klassert. --- playlist_selector.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playlist_selector.c b/playlist_selector.c index 346f1ce1..86cae7b0 100644 --- a/playlist_selector.c +++ b/playlist_selector.c @@ -105,7 +105,7 @@ static int send_playlist_to_server(const char *buf, size_t size) int ret, shm_mutex = -1, shm_id = -1; void *shm = NULL; - PARA_DEBUG_LOG("new playlist (%d bytes)\n", size); + PARA_DEBUG_LOG("new playlist (%zd bytes)\n", size); ret = mutex_new(); if (ret < 0) @@ -247,7 +247,7 @@ static void pls_post_select(__unused fd_set *rfds, __unused fd_set *wfds) PARA_ERROR_LOG("%s\n", PARA_STRERROR(-ret)); goto out; } - PARA_DEBUG_LOG("loading new playlist (%d bytes)\n", pcd->size); + PARA_DEBUG_LOG("loading new playlist (%zd bytes)\n", pcd->size); ret = for_each_line((char *)shm, pcd->size, &playlist_add); shm_detach(shm); PARA_NOTICE_LOG("new playlist (%d entries)\n", playlist_len); -- 2.39.5