summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/statistic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/statistic.cpp')
-rw-r--r--plugins/HistoryStats/src/statistic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/statistic.cpp b/plugins/HistoryStats/src/statistic.cpp
index c0207baac8..acaf5fe0eb 100644
--- a/plugins/HistoryStats/src/statistic.cpp
+++ b/plugins/HistoryStats/src/statistic.cpp
@@ -1348,7 +1348,7 @@ bool Statistic::createStatisticsSteps()
{ &Statistic::stepWriteHTML, LPGENT("Creating HTML") }
};
- setProgressMax(false, array_len(stepsInfo));
+ setProgressMax(false, _countof(stepsInfo));
array_each_(i, stepsInfo)
{