diff options
author | Cleverking2003 <30466983+Cleverking2003@users.noreply.github.com> | 2020-08-28 20:03:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 20:03:59 +0300 |
commit | 98d8b5afbffbd248d3d8bd1358f1f1b9ed0f4150 (patch) | |
tree | d92f5e462b64a05b45e08e00cd17790fabb54acf /arm9/lib/src | |
parent | 186aa237dd5d843d119a3e0e1d404fe031f89dcf (diff) | |
parent | cd2529e8855bdf5bb725b40524478cf197b27a62 (diff) |
Merge pull request #271 from PikalaxALT/pikalax_work
player_data, daycare, use_item_on_mon, item_data.json
Diffstat (limited to 'arm9/lib/src')
-rw-r--r-- | arm9/lib/src/RTC_convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm9/lib/src/RTC_convert.c b/arm9/lib/src/RTC_convert.c index af5574dc..3d0bb2ce 100644 --- a/arm9/lib/src/RTC_convert.c +++ b/arm9/lib/src/RTC_convert.c @@ -45,7 +45,7 @@ s32 RTC_ConvertDateToDay(const RTCDate * date) s32 RTCi_ConvertTimeToSecond(const RTCTime * time) { - return (time->hour * 60 + time->minute) * 60 + time->second; + return (s32)((time->hour * 60 + time->minute) * 60 + time->second); } s64 RTC_ConvertDateTimeToSecond(const RTCDate * date, const RTCTime * time) |