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:
@@ -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),
|
||||
|
Reference in New Issue
Block a user