Skip to content
This repository
Browse code

Fix comparison sign mismatch warning.

  • Loading branch information...
commit 41abcb4a0aa209010902727d4de37c536ce14641 1 parent d9561de
piotrrak authored December 26, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  src/ItemManager.cpp
4  src/ItemManager.cpp
@@ -156,7 +156,7 @@ void ItemManager::load(const string& filename) {
156 156
 		}
157 157
 		if (id_line) continue;
158 158
 
159  
-		assert(items.size() > id);
  159
+		assert(items.size() > std::size_t(id));
160 160
 
161 161
 		if (infile.key == "name")
162 162
 			items[id].name = msg->get(infile.val);
@@ -350,7 +350,7 @@ void ItemManager::loadSets(const string& filename) {
350 350
 		}
351 351
 		if (id_line) continue;
352 352
 
353  
-		assert(item_sets.size() > id);
  353
+		assert(item_sets.size() > std::size_t(id));
354 354
 
355 355
 		if (infile.key == "name") {
356 356
 			item_sets[id].name = msg->get(infile.val);

0 notes on commit 41abcb4

Please sign in to comment.
Something went wrong with that request. Please try again.