aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 167ba074..34187a68 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -989,7 +989,7 @@ function handleOverflow(text, bits) {
) + ')';
if (!correct) return text;
if (bits <= 32) {
- return '(' + text + ')&' + (Math.pow(2, bits) - 1);
+ return '((' + text + ')&' + (Math.pow(2, bits) - 1) + ')';
} else {
return text; // We warned about this earlier
}