Index: src/ch/AsyncHttpFile.cpp =================================================================== diff -u -rc0a84bbae34eef6e9763918e3ad02280730b07d0 -r6015bff29e76b4f7c4cb06d66b7b9ec9dc00d31c --- src/ch/AsyncHttpFile.cpp (.../AsyncHttpFile.cpp) (revision c0a84bbae34eef6e9763918e3ad02280730b07d0) +++ src/ch/AsyncHttpFile.cpp (.../AsyncHttpFile.cpp) (revision 6015bff29e76b4f7c4cb06d66b7b9ec9dc00d31c) @@ -353,7 +353,7 @@ CString strMsg; strMsg.Format(_T("[CAsyncHttpFile::InternetStatusCallback] hInternet: %p, dwContext: %Iu (operation: %lu), dwInternetStatus: %lu, lpvStatusInformation: %p, dwStatusInformationLength: %lu\n"), - hInternet, (size_t)dwContext, pRequest ? pRequest->eOperationType : CONTEXT_REQUEST::eNone, dwInternetStatus, lpvStatusInformation, dwStatusInformationLength); + hInternet, (size_t)dwContext, pRequest->eOperationType, dwInternetStatus, lpvStatusInformation, dwStatusInformationLength); ATLTRACE(L"%s\n", strMsg); LOG_DEBUG(strMsg); Index: src/ch/StringHelpers.cpp =================================================================== diff -u -r8dc649003961dad64b92da67426814fb5dd862e0 -r6015bff29e76b4f7c4cb06d66b7b9ec9dc00d31c --- src/ch/StringHelpers.cpp (.../StringHelpers.cpp) (revision 8dc649003961dad64b92da67426814fb5dd862e0) +++ src/ch/StringHelpers.cpp (.../StringHelpers.cpp) (revision 6015bff29e76b4f7c4cb06d66b7b9ec9dc00d31c) @@ -45,9 +45,6 @@ CString GetSizeString(unsigned long long ullData, bool bStrict) { - if (ullData < 0) - ullData = 0; - CString strResult; if (ullData >= 1258291200 && (!bStrict || (ullData % 1073741824) == 0)) strResult.Format(_T("%.2f %s"), (double)(ullData / 1073741824.0), GetResManager().LoadString(IDS_GBYTE_STRING));