mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
51aed272e1
We get the following warnings with clang. > ipc/chromium/src/base/time_posix.cc:103:57: error: overflow in expression; result is 0 with type 'long' [-Werror,-Winteger-overflow] > ipc/chromium/src/base/time_posix.cc:106:58: error: overflow in expression; result is -1000 with type 'long' [-Werror,-Winteger-overflow] This is a genuine bug. The upstream code in Chromium has changed (commit 2a278516943eee02e0206506a4b907fc0b55f27b) and this patch changes our code to be similar. I did tests and confirmed that instead of getting 0 or -1 for |milliseconds|, we now get -2147483648000 or 2147483647999, which is much better. --HG-- extra : rebase_source : f01a4f03bc1576980010426328116d03eb71079b |
||
---|---|---|
.. | ||
app | ||
chromium | ||
contentproc | ||
dbus | ||
glue | ||
hal | ||
ipdl | ||
keystore | ||
netd | ||
nfc | ||
ril | ||
testshell | ||
unixfd | ||
unixsocket | ||
moz.build | ||
pull-chromium.py |