Skip to content

Commit 2fa7fb0

Browse files
borinearkq
authored andcommitted
Fix compilation warning on 32-bit architectures
Fixes #798
1 parent d16a166 commit 2fa7fb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/aplay/aplay.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ static void *io_worker_routine(struct io_worker *w) {
643643
if (nfds <= ARRAYSIZE(fds))
644644
alsa_mixer_poll_descriptors(&w->alsa_mixer, fds + 2, nfds - 2);
645645
else {
646-
error("Poll FD array size exceeded: %zu > %zu", nfds, ARRAYSIZE(fds));
646+
error("Poll FD array size exceeded: %zu > %zu", (size_t)nfds, ARRAYSIZE(fds));
647647
goto fail;
648648
}
649649
}

0 commit comments

Comments
 (0)