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:
Michael Liebmann
2015-12-22 12:55:02 +01:00
parent 5cccedb618
commit 944d938919
3 changed files with 2 additions and 3 deletions

View File

@@ -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;