]> git.alsa-project.org Git - alsa-oss.git/commitdiff
Fix compile warning
authorTakashi Iwai <tiwai@suse.de>
Wed, 19 Jan 2005 13:35:11 +0000 (13:35 +0000)
committerTakashi Iwai <tiwai@suse.de>
Wed, 19 Jan 2005 13:35:11 +0000 (13:35 +0000)
Fixed compile warning regarding the type of timeval with printf.

alsa/alsa-oss.c

index a8a66252a3158a8ace3d414f6764b0c599a71ca4..8aa74d3ec450b983b7025ab318a3942a4e7fea7b 100644 (file)
@@ -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) {