Merge commit 'meins/master'
authorAndre Noll <maan@systemlinux.org>
Mon, 21 Dec 2009 10:45:02 +0000 (11:45 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 21 Dec 2009 10:45:02 +0000 (11:45 +0100)
wma_common.c

index 10633b5..9d3aaa6 100644 (file)
@@ -39,7 +39,7 @@ const char *search_pattern(const char *pattern, int pattern_len,
                if (memcmp(p, pattern, pattern_len))
                        continue;
                PARA_DEBUG_LOG("found %d byte pattern@%d\n",
-                       pattern_len, p - buf);
+                       pattern_len, (int)(p - buf));
                return p;
        }
        PARA_NOTICE_LOG("%d byte pattern not found\n", pattern_len);
@@ -56,7 +56,7 @@ static int find_audio_stream_info(const char *buf, int len)
 
        if (!p)
                return -E_WMA_NO_GUID;
-       PARA_DEBUG_LOG("found audio stream guid@%0x\n", p - buf);
+       PARA_DEBUG_LOG("found audio stream guid@%0x\n", (int)(p - buf));
        return p - buf + 16;
 }