diff options
author | Michieru <Michieru@users.noreply.github.com> | 2014-11-03 20:16:21 +0100 |
---|---|---|
committer | Michieru <Michieru@users.noreply.github.com> | 2014-11-03 20:16:21 +0100 |
commit | 2ff79aed64ceba77ce60679fcf8028e5687e4df2 (patch) | |
tree | 48d0fd5f8aa63b5c47da43e75c33474309ee55e0 /src/map/clif.c | |
parent | ea85ad9514c6d1e64457c215294a7090831d971b (diff) | |
download | hercules-2ff79aed64ceba77ce60679fcf8028e5687e4df2.tar.gz hercules-2ff79aed64ceba77ce60679fcf8028e5687e4df2.tar.bz2 hercules-2ff79aed64ceba77ce60679fcf8028e5687e4df2.tar.xz hercules-2ff79aed64ceba77ce60679fcf8028e5687e4df2.zip |
Fix compile warning in VC++
Thanks to Ind
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 2 |
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")); |