Use correct format (%zu) for printing size_t values.

Fix assert due to using %d for printing 64 bit size_t values under Win64.

See #16974.

(this is a backport of 6c7c8b6d8d from master)
This commit is contained in:
Vadim Zeitlin
2016-01-14 15:41:44 +01:00
parent e39322c374
commit 4e5e788bae

View File

@@ -102,8 +102,8 @@ public:
}
wxLogTrace("items container",
"determined best size from %d top, %d bottom "
"plus %d more visible items out of %d total",
"determined best size from %zu top, %zu bottom "
"plus %zu more visible items out of %zu total",
top_part_end,
count - bottom_part_start,
wxMax(0, last_visible - first_visible),