]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - wmadec_filter.c
Fix two gcc warnings on 64 bit archs.
[paraslash.git] / wmadec_filter.c
index 35e2703c1f796c390ce8386d764adb4a9395bff5..c5a91e0fcb7f28ec07abdadfaa85945a0e5035ba 100644 (file)
@@ -24,6 +24,7 @@
 #include <math.h>
 #include <string.h>
 #include <regex.h>
+#include <sys/select.h>
 
 #include "para.h"
 #include "error.h"
@@ -1231,7 +1232,7 @@ static int wma_decode_superframe(struct private_wmadec_data *pwd, void *data,
                samples += pwd->ahi.channels * pwd->frame_len;
        }
        PARA_DEBUG_LOG("frame_count: %d frame_len: %d, block_len: %d, "
-               "outbytes: %d, eaten: %d\n",
+               "outbytes: %zd, eaten: %d\n",
                frame_count, pwd->frame_len, pwd->block_len,
                (int8_t *) samples - (int8_t *) data, pwd->ahi.block_align);
        *data_size = (int8_t *)samples - (int8_t *)data;