projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'maint'
[paraslash.git]
/
wma_common.c
diff --git
a/wma_common.c
b/wma_common.c
index dab96257d09876916240817811508c31c45b29d6..781db5f4a36678f14db97a165b02e8f41df3e8b8 100644
(file)
--- a/
wma_common.c
+++ b/
wma_common.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2009
-2011
Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
@@
-38,8
+38,8
@@
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;
for (p = buf; p + pattern_len < end; p++) {
if (memcmp(p, pattern, pattern_len))
continue;
- PARA_DEBUG_LOG("found %d byte pattern@%
z
d\n",
- pattern_len,
p - buf
);
+ PARA_DEBUG_LOG("found %d byte pattern@%d\n",
+ pattern_len,
(int)(p - buf)
);
return p;
}
PARA_NOTICE_LOG("%d byte pattern not found\n", pattern_len);
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;
if (!p)
return -E_WMA_NO_GUID;
- PARA_DEBUG_LOG("found audio stream guid@%0
zx\n", p - buf
);
+ PARA_DEBUG_LOG("found audio stream guid@%0
x\n", (int)(p - buf)
);
return p - buf + 16;
}
return p - buf + 16;
}