input/curl: work around format warning on WIN32

This commit is contained in:
Max Kellermann 2015-01-21 23:29:56 +01:00
parent a38f02541d
commit 10972da060
1 changed files with 3 additions and 0 deletions

View File

@ -649,7 +649,10 @@ CurlInputStream::HeaderReceived(const char *name, std::string &&value)
return;
size_t icy_metaint = ParseUint64(value.c_str());
#ifndef WIN32
/* Windows doesn't know "%z" */
FormatDebug(curl_domain, "icy-metaint=%zu", icy_metaint);
#endif
if (icy_metaint > 0) {
icy->Enable(icy_metaint);