author Jean-Yves Avenard <>
Fri, 08 Mar 2019 03:03:16 +0000
changeset 463087 df1b1891f2f85f34846067282ada1a5260d37139
parent 452580 4b0da3a2a9facebc598079ca6e8161cefb3448ea
child 468432 a1ec8a73e99bb271e951e0f3e7bc093d02b258e9
permissions -rw-r--r--
Bug 1533127 - Force unsigned operation. r=gerald 1 << 31 is defined since C++14 and produces INT_MIN, but subtracting any positive number from INT_MIN would result in a signed overflow. This can be avoided by making the first argument unsigned (and in this case the second argument will be converted to unsigned as well.) Differential Revision:

  "name": "mozilla-central",
  "description": "This package file is for node modules used in mozilla-central",
  "repository": {},
  "license": "MPL-2.0",
  "dependencies": {},
  "devDependencies": {
    "eslint": "5.11.1",
    "eslint-plugin-html": "5.0.0",
    "eslint-plugin-mozilla": "file:tools/lint/eslint/eslint-plugin-mozilla",
    "eslint-plugin-no-unsanitized": "3.0.2",
    "eslint-plugin-react": "7.12.2",
    "eslint-plugin-spidermonkey-js": "file:tools/lint/eslint/eslint-plugin-spidermonkey-js"
  "notes(private)": "We don't want to publish to npm, so this is marked as private",
  "private": true