mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 19:38:14 +00:00
Fixed build warning
This commit is contained in:
@@ -182,7 +182,7 @@ int SDL_TimeToDateTime(SDL_Time ticks, SDL_DateTime *dt, SDL_bool localTime)
|
|||||||
dt->second = tm->tm_sec;
|
dt->second = tm->tm_sec;
|
||||||
dt->nanosecond = ticks % SDL_NS_PER_SECOND;
|
dt->nanosecond = ticks % SDL_NS_PER_SECOND;
|
||||||
dt->day_of_week = tm->tm_wday;
|
dt->day_of_week = tm->tm_wday;
|
||||||
dt->utc_offset = tm->tm_gmtoff;
|
dt->utc_offset = (int)tm->tm_gmtoff;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user