From 613717f6b895c573930373974f03076418887ab5 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sat, 9 Jan 2010 13:38:41 +0100 Subject: [PATCH] Fix a format string mismatch (long vs uint64_t) --- src/scan-wma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scan-wma.c b/src/scan-wma.c index 73416ab2..da6646ef 100644 --- a/src/scan-wma.c +++ b/src/scan-wma.c @@ -27,6 +27,7 @@ #ifdef HAVE_STDINT_H #include #endif +#include #include #include #include @@ -1052,7 +1053,7 @@ int scan_get_wmainfo(char *filename, MP3FILE *pmp3) { pguid = wma_find_guid(subhdr.objectid); if(pguid) { - DPRINTF(E_DBG,L_SCAN,"%ld: Found subheader: %s\n", + DPRINTF(E_DBG,L_SCAN,"%" PRIu64 ": Found subheader: %s\n", offset,pguid->name); if(strcmp(pguid->name,"ASF_Content_Description_Object")==0) { res &= wma_parse_content_description(fd,(int)subhdr.size,pmp3);