1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

Enable warnings=extra on clang and GCC testers.

And remove 2 warnings from warnings=extra.

(cherry picked from commit e7f22ebdcd)
This commit is contained in:
marxin
2019-02-27 10:07:30 +01:00
committed by Rémi Verschelde
parent 044ec35f62
commit e3ae29e666
14 changed files with 135 additions and 124 deletions

View File

@@ -792,7 +792,7 @@ Dictionary _OS::get_datetime_from_unix_time(int64_t unix_time_val) const {
size_t imonth = 0;
while (dayno >= MONTH_DAYS_TABLE[LEAPYEAR(year)][imonth]) {
while ((unsigned long)dayno >= MONTH_DAYS_TABLE[LEAPYEAR(year)][imonth]) {
dayno -= MONTH_DAYS_TABLE[LEAPYEAR(year)][imonth];
imonth++;
}