summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorPokeCodec <doremylover456@gmail.com>2020-07-19 15:57:20 -0400
committerPokeCodec <doremylover456@gmail.com>2020-07-28 15:22:15 -0400
commitebcb982e16a0fd6b22185d159234495c44a15874 (patch)
tree1276cdd422e6d0944350a8a91db566356bb2a8fc /src/scrcmd.c
parente8568b79efa2f12ce929a4db15c8786f1dccc359 (diff)
Change signedness and add casts to avoid implicit conversion warnings
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index 4a7f4ea73..2a6abf17e 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -788,8 +788,8 @@ bool8 ScrCmd_warphole(struct ScriptContext *ctx)
{
u8 mapGroup = ScriptReadByte(ctx);
u8 mapNum = ScriptReadByte(ctx);
- u16 x;
- u16 y;
+ s16 x;
+ s16 y;
PlayerGetDestCoords(&x, &y);
if (mapGroup == 0xFF && mapNum == 0xFF)