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);