printf format fixes

This commit is contained in:
Wim Taymans 2019-06-07 17:16:02 +02:00
parent d46c239ab0
commit 497a8364c5
9 changed files with 23 additions and 22 deletions

View file

@ -1252,7 +1252,7 @@ static void rescan_session(struct impl *impl, struct session *sess)
str = node->info->name;
pw_properties_set(props, "audio-dsp.name", str);
pw_properties_setf(props, "audio-dsp.direction", "%d", sess->direction);
pw_properties_setf(props, "audio-dsp.maxbuffer", "%ld", MAX_QUANTUM_SIZE * sizeof(float));
pw_properties_setf(props, "audio-dsp.maxbuffer", "%zd", MAX_QUANTUM_SIZE * sizeof(float));
pw_log_debug(NAME" %p: making audio dsp for session %d", impl, sess->id);