summaryrefslogtreecommitdiff
path: root/src/berry.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/berry.c
parente8568b79efa2f12ce929a4db15c8786f1dccc359 (diff)
Change signedness and add casts to avoid implicit conversion warnings
Diffstat (limited to 'src/berry.c')
-rw-r--r--src/berry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/berry.c b/src/berry.c
index 98264f37b..d70e8c353 100644
--- a/src/berry.c
+++ b/src/berry.c
@@ -1331,7 +1331,7 @@ void ResetBerryTreeSparkleFlags(void)
s16 bottom;
int i;
- GetCameraCoords(&cam_left, &cam_top);
+ GetCameraCoords((u16*)&cam_left, (u16*)&cam_top);
left = cam_left;
top = cam_top + 3;
right = cam_left + 14;