fix binaryParsers: oid is 32bit

This commit is contained in:
Alexander Sulfrian 2011-11-22 04:45:57 +01:00
parent f3c9a532e0
commit 09ee46da22
2 changed files with 2 additions and 2 deletions

View File

@ -230,7 +230,7 @@ var init = function(register) {
register(20, parseInt64);
register(21, parseInt16);
register(23, parseInt32);
register(26, parseInt64);
register(26, parseInt32);
register(1700, parseNumeric);
register(700, parseFloat32);
register(701, parseFloat64);

View File

@ -191,7 +191,7 @@ test('typed results', function() {
name: 'binary-oid',
format: 'binary',
dataTypeID: 26,
actual: [0, 0, 0, 0, 0, 0, 0, 103],
actual: [0, 0, 0, 103],
expected: 103
},{
name: 'binary-numeric',