From ee4a6df36b9359e31d4104eec5172052b27fb972 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 16 Jul 2012 18:20:35 +0000 Subject: Fixed a compilation warning git-svn-id: http://mc-server.googlecode.com/svn/trunk@674 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/blocks/BlockMelon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blocks/BlockMelon.h b/source/blocks/BlockMelon.h index 921745795..d64461780 100644 --- a/source/blocks/BlockMelon.h +++ b/source/blocks/BlockMelon.h @@ -19,6 +19,6 @@ public: virtual char GetDropCount() { MTRand r1; - return 3 + r1.randInt(4); + return (char)(3 + r1.randInt(4)); } }; \ No newline at end of file -- cgit v1.2.3