diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-06-15 22:52:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-15 22:52:35 +0200 |
commit | 182b1fb9f16ce8523ce5cc28cd11b66f52dc09e4 (patch) | |
tree | ca6b24cfa5f1085209743e093b96b9b712940c01 /platform/windows/power_windows.cpp | |
parent | e21f808530b02a393a46d597afe89b4fbf886bb6 (diff) | |
parent | 68735d2a886bc2cf6b0a4300d1aa5ece952929ed (diff) |
Merge pull request #29797 from akien-mga/fix-warnings
Fix compilation warnings in JS and Windows builds
Diffstat (limited to 'platform/windows/power_windows.cpp')
-rw-r--r-- | platform/windows/power_windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/power_windows.cpp b/platform/windows/power_windows.cpp index b96ae51132..0efd88c216 100644 --- a/platform/windows/power_windows.cpp +++ b/platform/windows/power_windows.cpp @@ -89,7 +89,7 @@ bool PowerWindows::GetPowerInfo_Windows() { if (pct != 255) { /* 255 == unknown */ percent_left = (pct > 100) ? 100 : pct; /* clamp between 0%, 100% */ } - if (secs != 0xFFFFFFFF) { /* ((DWORD)-1) == unknown */ + if (secs != (int)0xFFFFFFFF) { /* ((DWORD)-1) == unknown */ nsecs_left = secs; } } |