diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-02 18:24:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-02 18:24:06 +0200 |
commit | f5013e327769df7168e5f6bd68aa6309d2b825de (patch) | |
tree | f2ef4c28bcf6c65f287ae54839d19672418536d4 /core/bind | |
parent | 612a109b81320fcd2f06e5ddff71925d81aca509 (diff) | |
parent | e7f22ebdcd36d620a21977392365661aa956527f (diff) |
Merge pull request #26343 from marxin/warnings-all-add-most-of-Wextra
Enable most of -Wextra warnings for warnings=all.
Diffstat (limited to 'core/bind')
-rw-r--r-- | core/bind/core_bind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index e7ddbc690f..67de156fc3 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -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++; } |