OSDN Git Service

Fix problems with _countf() in newest VS 15.7.2 (2)
authorGreyMerlin <GreyMerlin7@gmail.com>
Wed, 27 Jun 2018 18:23:43 +0000 (11:23 -0700)
committerGreyMerlin <GreyMerlin7@gmail.com>
Wed, 27 Jun 2018 18:23:43 +0000 (11:23 -0700)
 - See earlier commit [76754ec1...]
(https://github.com/GreyMerlin/winmerge-v2/commit/
76754ec1f47042b8b857ad5082054033190788b8),
05/27/2018  "Fix problems with _countf() in newest VS 15.7.2"]

Src/DirViewColItems.cpp

index 19ee8d4..d98d66c 100644 (file)
@@ -167,7 +167,7 @@ static String MakeShortSize(int64_t size)
        if (size < 1024)
                return strutils::format(_T("%d B"), static_cast<int>(size));
        else
-               StrFormatByteSize64(size, buffer, _countof(buffer));
+               StrFormatByteSize64(size, buffer, countof(buffer));
        return buffer;
 }