minor cleanup
This commit is contained in:
parent
8c45632dc3
commit
9d7549671c
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ Ox.oshash = function(file, callback) {
|
||||||
b &= 0xffff;
|
b &= 0xffff;
|
||||||
// Cut off overflow
|
// Cut off overflow
|
||||||
a &= 0xffff;
|
a &= 0xffff;
|
||||||
return [a, b, c ,d];
|
return [a, b, c, d];
|
||||||
}
|
}
|
||||||
|
|
||||||
function fromData(s, offset) {
|
function fromData(s, offset) {
|
||||||
|
@ -47,7 +47,7 @@ Ox.oshash = function(file, callback) {
|
||||||
do {
|
do {
|
||||||
while (i < blen) {
|
while (i < blen) {
|
||||||
num += r[3 - i] * base;
|
num += r[3 - i] * base;
|
||||||
r[3 - i++] = (num & 0xffff);
|
r[3 - i++] = (num & 0xFFFF);
|
||||||
num >>>= 16;
|
num >>>= 16;
|
||||||
}
|
}
|
||||||
if (num) {
|
if (num) {
|
||||||
|
|
Loading…
Reference in a new issue