From 7584a74e52195f0f8fa390952dfbb421e7c73f14 Mon Sep 17 00:00:00 2001 From: Ryan Flegel Date: Mon, 7 Jun 2004 21:46:26 +0000 Subject: [PATCH] - fixed type warning on OS X SVN-Revision: 1424 --- src/leveleditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/leveleditor.cpp b/src/leveleditor.cpp index cd7337e8f..8ada081d7 100644 --- a/src/leveleditor.cpp +++ b/src/leveleditor.cpp @@ -553,9 +553,9 @@ void LevelEditor::update_level_settings_menu() /* if((i = string_list_find(level_settings_menu->get_item_by_id(MNID_PARTICLE).list,le_level->get_sector("main")->particlesystem.c_str())) != -1) level_settings_menu->get_item_by_id(MNID_PARTICLE).list->active_item = i;*/ - sprintf(str,"%d",le_level->get_sector("main")->solids->get_width()); + sprintf(str,"%d",static_cast(le_level->get_sector("main")->solids->get_width())); level_settings_menu->get_item_by_id(MNID_LENGTH).change_input(str); - sprintf(str,"%d",le_level->get_sector("main")->solids->get_height()); + sprintf(str,"%d", static_cast(le_level->get_sector("main")->solids->get_height())); level_settings_menu->get_item_by_id(MNID_HEIGHT).change_input(str); sprintf(str,"%d",le_level->time_left); level_settings_menu->get_item_by_id(MNID_TIME).change_input(str); -- 2.11.0