diff --git a/desmume/src/rtc.cpp b/desmume/src/rtc.cpp index 41c1d0746..a94d492af 100644 --- a/desmume/src/rtc.cpp +++ b/desmume/src/rtc.cpp @@ -79,7 +79,7 @@ struct movietime { struct movietime movie; int oldframeCounter; -u64 totalcycles=2904024960000;//noon +u64 totalcycles=2904024960000ULL;//noon int totalseconds; bool init=false; bool moviemode=false; @@ -369,4 +369,4 @@ void rtcWrite(u16 val) rtc._prevSIO = rtc._SIO; rtc._prevSCK = rtc._SCK; rtc._prevCS = rtc._CS; -} \ No newline at end of file +}