Change signedness and add casts to avoid implicit conversion warnings

This commit is contained in:
PokeCodec
2020-07-19 15:57:20 -04:00
parent 69a04f88f4
commit c5aa91741b
22 changed files with 99 additions and 112 deletions

View File

@@ -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;