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

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

Closes #16974.
This commit is contained in:
Vadim Zeitlin
2015-04-29 19:38:02 +02:00
parent fe93da75f4
commit 6c7c8b6d8d

View File

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