diff --git a/source/blender/editors/space_file/file_draw.cc b/source/blender/editors/space_file/file_draw.cc index 5f1276750e6..89617e04740 100644 --- a/source/blender/editors/space_file/file_draw.cc +++ b/source/blender/editors/space_file/file_draw.cc @@ -289,7 +289,7 @@ static void file_draw_tooltip_custom_func(bContext * /*C*/, uiTooltipData *tip, char size[16]; BLI_filelist_entry_size_to_string(nullptr, file->size, false, size); if (file->size < 10000) { - char size_full[16]; + char size_full[BLI_STR_FORMAT_UINT64_GROUPED_SIZE]; BLI_str_format_uint64_grouped(size_full, file->size); UI_tooltip_text_field_add( tip,