input/curl: work around format warning on WIN32
This commit is contained in:
parent
a38f02541d
commit
10972da060
|
@ -649,7 +649,10 @@ CurlInputStream::HeaderReceived(const char *name, std::string &&value)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
size_t icy_metaint = ParseUint64(value.c_str());
|
size_t icy_metaint = ParseUint64(value.c_str());
|
||||||
|
#ifndef WIN32
|
||||||
|
/* Windows doesn't know "%z" */
|
||||||
FormatDebug(curl_domain, "icy-metaint=%zu", icy_metaint);
|
FormatDebug(curl_domain, "icy-metaint=%zu", icy_metaint);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (icy_metaint > 0) {
|
if (icy_metaint > 0) {
|
||||||
icy->Enable(icy_metaint);
|
icy->Enable(icy_metaint);
|
||||||
|
|
Loading…
Reference in New Issue