From e806198388c948e0636f9a52fae707f7fba7ae94 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 28 Jul 2012 12:21:50 +0000 Subject: Fixed a few gcc warnings git-svn-id: http://mc-server.googlecode.com/svn/trunk@701 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/items/ItemPickaxe.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/items/ItemPickaxe.h') diff --git a/source/items/ItemPickaxe.h b/source/items/ItemPickaxe.h index a179d154f..f1800c7be 100644 --- a/source/items/ItemPickaxe.h +++ b/source/items/ItemPickaxe.h @@ -42,7 +42,7 @@ public: case E_BLOCK_GOLD_ORE: case E_BLOCK_REDSTONE_ORE: case E_BLOCK_REDSTONE_ORE_GLOWING: - case E_BLOCK_EMERALD_ORE: + case (char)E_BLOCK_EMERALD_ORE: return PickaxeLevel() >= 3; case E_BLOCK_IRON_BLOCK: case E_BLOCK_IRON_ORE: @@ -54,7 +54,7 @@ public: case E_BLOCK_COBBLESTONE: case E_BLOCK_END_STONE: case E_BLOCK_MOSSY_COBBLESTONE: - case E_BLOCK_SANDSTONE_STAIRS: + case (char)E_BLOCK_SANDSTONE_STAIRS: case E_BLOCK_SANDSTONE: case E_BLOCK_STONE_BRICKS: case E_BLOCK_NETHER_BRICK: -- cgit v1.2.3