From 7c4637ded838186465e4e66f57cfd5007e4bc490 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 19 Jan 2005 13:35:11 +0000 Subject: [PATCH] Fix compile warning Fixed compile warning regarding the type of timeval with printf. --- alsa/alsa-oss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alsa/alsa-oss.c b/alsa/alsa-oss.c index a8a6625..8aa74d3 100644 --- a/alsa/alsa-oss.c +++ b/alsa/alsa-oss.c @@ -402,7 +402,7 @@ void dump_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, int k; fprintf(stderr, "SELECT nfds: %d, ", nfds); if (timeout) - fprintf(stderr, "timeout: %ld.%06ld\n", timeout->tv_sec, timeout->tv_usec); + fprintf(stderr, "timeout: %ld.%06ld\n", (long)timeout->tv_sec, (long)timeout->tv_usec); else fprintf(stderr, "no timeout\n"); if (rfds) { -- 2.47.1