aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-03-21 19:50:03 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-03-21 19:50:03 -0700
commitb956a15fb40aa661c7feb0f8b078f1bb0ea1d622 (patch)
tree6b8a457060fd2765232d0d3705fde59f674383cc /src/jsifier.js
parent24856d20699818b35f01963e4144c87d1a5c56ff (diff)
poppler-related tweaks
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index 7a7bc47f..2e525649 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -803,7 +803,7 @@ function JSify(data, functionsOnly, givenFunctions, givenGlobalVariables) {
// TODO: figure out something here along the lines of return '(' + Math.pow(2, 32) + '+((' + value + ')|0))';
}
}
- return op + 'Sign(' + value + ', ' + bits + ', ' + correctSpecificSign() + ')'; // If we are correcting a specific sign here, do not check for it
+ return op + 'Sign(' + value + ', ' + bits + ', ' + Math.floor(correctSpecificSign()) + ')'; // If we are correcting a specific sign here, do not check for it
} else {
return value;
}