diff --git a/include/wx/generic/private/widthcalc.h b/include/wx/generic/private/widthcalc.h index 41213371ed..d9549e7d70 100644 --- a/include/wx/generic/private/widthcalc.h +++ b/include/wx/generic/private/widthcalc.h @@ -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),