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)
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);