mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
(Windows) Fixed an MSVC compiler warning
This commit is contained in:
parent
f91a87251d
commit
d67252eefc
|
@ -272,9 +272,9 @@ int HttpReq::transferProgress(
|
||||||
{
|
{
|
||||||
// Note that it's not guaranteed that the server will actually provide the total size.
|
// Note that it's not guaranteed that the server will actually provide the total size.
|
||||||
if (dltotal > 0)
|
if (dltotal > 0)
|
||||||
static_cast<HttpReq*>(clientp)->mTotalBytes = dltotal;
|
static_cast<HttpReq*>(clientp)->mTotalBytes = static_cast<long>(dltotal);
|
||||||
if (dlnow > 0)
|
if (dlnow > 0)
|
||||||
static_cast<HttpReq*>(clientp)->mDownloadedBytes = dlnow;
|
static_cast<HttpReq*>(clientp)->mDownloadedBytes = static_cast<long>(dlnow);
|
||||||
|
|
||||||
return CURLE_OK;
|
return CURLE_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue