summaryrefslogtreecommitdiff
path: root/js/src/Ice/browser/Buffer.js
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-03-05 19:43:33 +0100
committerJose <jose@zeroc.com>2015-03-05 19:43:33 +0100
commitec14dc26152ae6f7f4d0ad4357be7ed787f1f428 (patch)
treeb2653b4a900382ca0ccd34c25ca938b0a4943abd /js/src/Ice/browser/Buffer.js
parentUpdate NPM packages and some cleanup to HttpServer.js (diff)
downloadice-ec14dc26152ae6f7f4d0ad4357be7ed787f1f428.tar.bz2
ice-ec14dc26152ae6f7f4d0ad4357be7ed787f1f428.tar.xz
ice-ec14dc26152ae6f7f4d0ad4357be7ed787f1f428.zip
Fixed (ICE-6349) - Wrong time & timezone in JS Chat demo client
Diffstat (limited to 'js/src/Ice/browser/Buffer.js')
-rw-r--r--js/src/Ice/browser/Buffer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/Ice/browser/Buffer.js b/js/src/Ice/browser/Buffer.js
index c33c8c559f4..5c7b47d52cd 100644
--- a/js/src/Ice/browser/Buffer.js
+++ b/js/src/Ice/browser/Buffer.js
@@ -341,9 +341,9 @@ var Buffer = Ice.Class({
throw new Error(__BufferUnderflowException__);
}
var v = new Long();
- v.low = this.v.getInt32(this._position, true);
+ v.low = this.v.getUint32(this._position, true);
this._position += 4;
- v.high = this.v.getInt32(this._position, true);
+ v.high = this.v.getUint32(this._position, true);
this._position += 4;
return v;
},