From 9b8da4bf8861a3c077e40197727107e3f320d11d Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Wed, 29 Mar 2006 18:37:41 +0000 Subject: [PATCH] Fix warnings about type conversions --- golded3/gmarea.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/golded3/gmarea.h b/golded3/gmarea.h index 82b79bf..7d11255 100644 --- a/golded3/gmarea.h +++ b/golded3/gmarea.h @@ -134,8 +134,8 @@ public: inline const char* MenuText() { return currposn != container.end() ? currposn->first.c_str() : ""; } inline const char* File() { return currposn != container.end() ? currposn->second.c_str() : ""; } - inline const char* MenuText(int i) { return i < container.size() ? container[i].first.c_str() : ""; } - inline const char* File(int i) { return i < container.size() ? container[i].second.c_str() : ""; } + inline const char* MenuText(unsigned i) { return i < container.size() ? container[i].first.c_str() : ""; } + inline const char* File(unsigned i) { return i < container.size() ? container[i].second.c_str() : ""; } }; @@ -196,7 +196,7 @@ public: // Additional items to the area scan menu GAreaListScan ListScan; - void Set_Mask(word value = 1) { mask = value; } +// void Set_Mask(word value = 1) { mask = value; } void Select_Mask(void); // Con/destructor