minor cleanup

This commit is contained in:
rolux 2012-06-11 23:45:37 +02:00
parent 8c45632dc3
commit 9d7549671c

View file

@ -21,7 +21,7 @@ Ox.oshash = function(file, callback) {
b &= 0xffff;
// Cut off overflow
a &= 0xffff;
return [a, b, c ,d];
return [a, b, c, d];
}
function fromData(s, offset) {
@ -47,7 +47,7 @@ Ox.oshash = function(file, callback) {
do {
while (i < blen) {
num += r[3 - i] * base;
r[3 - i++] = (num & 0xffff);
r[3 - i++] = (num & 0xFFFF);
num >>>= 16;
}
if (num) {