]> git.tue.mpg.de Git - paraslash.git/commitdiff
Fix two gcc warnings on 64 bit archs.
authorAndre Noll <maan@systemlinux.org>
Thu, 22 Oct 2009 17:58:08 +0000 (19:58 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 18 Nov 2009 18:34:28 +0000 (19:34 +0100)
wma_common.c
wmadec_filter.c

index 84f075ed017583b59b79cca5c50064ec9983424a..dab96257d09876916240817811508c31c45b29d6 100644 (file)
@@ -38,7 +38,7 @@ const char *search_pattern(const char *pattern, int pattern_len,
        for (p = buf; p + pattern_len < end; p++) {
                if (memcmp(p, pattern, pattern_len))
                        continue;
-               PARA_DEBUG_LOG("found %d byte pattern@%d\n",
+               PARA_DEBUG_LOG("found %d byte pattern@%zd\n",
                        pattern_len, p - buf);
                return p;
        }
index d574df35d3a9da3a75f25bf0069f6e887b8b547e..c5a91e0fcb7f28ec07abdadfaa85945a0e5035ba 100644 (file)
@@ -1232,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;