mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CLuaInstCurl: Fix compiler warning
This commit is contained in:
@@ -99,7 +99,7 @@ int CLuaInstCurl::CurlProgressFunc(void *p, curl_off_t dltotal, curl_off_t dlnow
|
||||
curl_easy_getinfo(_pgd->curl, CURLINFO_RESPONSE_CODE, &responseCode);
|
||||
|
||||
uint32_t MUL = 0x7FFF;
|
||||
uint32_t dlFragment = (dlnow * MUL) / dltotal;
|
||||
uint32_t dlFragment = (uint32_t)((dlnow * MUL) / dltotal);
|
||||
if (responseCode != 200) {
|
||||
dlFragment = 0;
|
||||
dlSpeed = 0;
|
||||
|
Reference in New Issue
Block a user