diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-08-29 11:42:29 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-08-29 11:42:29 -0400 |
commit | 2eaf5b4485638540ef5f790e3c76e2753a0a78be (patch) | |
tree | a372e80c6d7e311fd812b73b21fc03c0e052e38c /arm9/lib/src | |
parent | 224021d5e5b78163738c51944517de34f80c85c0 (diff) | |
parent | 3189320922277dcec0a284a191dd05e823297b1a (diff) |
Merge branch 'pikalax_work' of github.com:PikalaxALT/pokediamond into pikalax_work
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) |