summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-11-03 20:16:21 +0100
committerMichieru <Michieru@users.noreply.github.com>2014-11-03 20:16:21 +0100
commit2ff79aed64ceba77ce60679fcf8028e5687e4df2 (patch)
tree48d0fd5f8aa63b5c47da43e75c33474309ee55e0
parentea85ad9514c6d1e64457c215294a7090831d971b (diff)
downloadhercules-2ff79aed64ceba77ce60679fcf8028e5687e4df2.tar.gz
hercules-2ff79aed64ceba77ce60679fcf8028e5687e4df2.tar.bz2
hercules-2ff79aed64ceba77ce60679fcf8028e5687e4df2.tar.xz
hercules-2ff79aed64ceba77ce60679fcf8028e5687e4df2.zip
Fix compile warning in VC++
Thanks to Ind
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 169f30793..a101c39eb 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -18313,7 +18313,7 @@ void clif_parse_RouletteOpen(int fd, struct map_session_data* sd) {
p.Result = 0;
p.Serial = 0;
p.Step = sd->roulette.stage - 1;
- p.Idx = sd->roulette.prizeIdx;
+ p.Idx = (char)sd->roulette.prizeIdx;
p.AdditionItemID = -1; /** TODO **/
p.BronzePoint = pc_readglobalreg(sd, script->add_str("TmpRouletteBronze"));
p.GoldPoint = pc_readglobalreg(sd, script->add_str("TmpRouletteGold"));