]> git.tue.mpg.de Git - paraslash.git/commitdiff
More %d -> %zd fixes
authorAndre <maan@p133.(none)>
Wed, 15 Mar 2006 22:58:29 +0000 (23:58 +0100)
committerAndre <maan@p133.(none)>
Wed, 15 Mar 2006 22:58:29 +0000 (23:58 +0100)
Noted by Steffen Klassert.

playlist_selector.c

index 346f1ce12a0e0b83eff76ddc51dead55475ca08d..86cae7b089b5cf8c675f75a59038ce59db84f0b6 100644 (file)
@@ -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);