diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-08-27 20:13:46 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-08-27 20:13:46 -0400 |
commit | 46175353717188d59960c1ed9cf3a12deb81a6ab (patch) | |
tree | 5d67cacdbe1ee7be089de1fbda52f385360cde74 /arm9/lib | |
parent | a178ce5d9733abfbf13f1d9e8ae5557915e3afa6 (diff) |
Resolve warning in RTC_convert.c
Diffstat (limited to 'arm9/lib')
-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) |