mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
CLuaInstCurl: Fix compiler warning
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6b6dff36d6
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-22 (Tue, 22 Dec 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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