fix incorrect traffic counting

This commit is contained in:
r4sas 2017-02-16 17:45:38 +03:00
parent f044851abb
commit 16fa10b056

View file

@ -99,7 +99,7 @@ namespace win32
s << seconds << " seconds\n";
}
static void ShowTransfered (std::stringstream& s, int transfer)
template <typename size> static void ShowTransfered (std::stringstream& s, size transfer)
{
auto bytes = transfer & 0x03ff;
transfer >>= 10;