readBytes does not read bytes one by one but in chunks

This commit is contained in:
Benjamin Sergeant
2019-03-02 21:11:16 -08:00
parent d6c26d6aa8
commit fe7d94194c
7 changed files with 49 additions and 49 deletions

View File

@ -573,7 +573,7 @@ namespace ix
// Send message
sendFragment(opcodeType, fin, begin, end, compress);
if (onProgressCallback && !onProgressCallback(i, steps))
if (onProgressCallback && !onProgressCallback((int)i, (int) steps))
{
break;
}