Skip to content

transfer explicit cast to double

Marius Pa requested to merge nmariusp/kget:work/nmariusp/double_cast into master

Fix PVS-Studio issue "core/transfer.cpp:179: warning: V636 The 'm_uploadedSize / m_downloadedSize' expression was implicitly cast from 'unsigned long long' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;.".

Merge request reports