From 9d7549671ce26d122d98a24fbd61bddac0e18f62 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 11 Jun 2012 23:45:37 +0200 Subject: [PATCH] minor cleanup --- source/Ox/js/Hash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox/js/Hash.js b/source/Ox/js/Hash.js index 6407ffcb..20175b9e 100644 --- a/source/Ox/js/Hash.js +++ b/source/Ox/js/Hash.js @@ -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) {