Skip to content
Snippets Groups Projects
Commit e36620e6 authored by rahix's avatar rahix
Browse files

chore(hardware-init): Fix a sign-compare warning


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 321a941e
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,7 @@ int hardware_early_init(void) ...@@ -95,7 +95,7 @@ int hardware_early_init(void)
; ;
/* If we don't have a valid time yet, set it to 2019-01-01 */ /* If we don't have a valid time yet, set it to 2019-01-01 */
if (RTC_GetSecond() < 1546300800UL) { if (RTC_GetSecond() < 1546300800L) {
epic_rtc_set_milliseconds(1546300800UL * 1000); epic_rtc_set_milliseconds(1546300800UL * 1000);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment