addint/packInt packs integers incorrectly
actsasflinn opened this issue · 1 comments
actsasflinn commented
The following code should output "Count : 11000" but incorrectly outputs "Count : 236268280"
var tyrant = require("./tyrant");
var sys = require('sys');
var c = tyrant.connect();
c.addListener("connect", function (){
c.addint('count', 11000).addCallback(function(value) {
sys.puts('Count : '+value);
c.quit();
});
});
waveto commented
Seems this was due to a bug in packInt - now fixed.