From: Andrew Dunstan Date: Fri, 17 Feb 2012 18:53:50 +0000 (-0800) Subject: Actually truncate the 64bit int this time. X-Git-Url: https://git.exim.org/buildfarm-server.git/commitdiff_plain/0c588d23d6fb0e45951568788077791663b88091?hp=dae28f34bafb3f4b5892e7870b249bbac8103bb5 Actually truncate the 64bit int this time. --- diff --git a/cgi-bin/pgstatus.pl b/cgi-bin/pgstatus.pl index bfe50ce..16ac79f 100755 --- a/cgi-bin/pgstatus.pl +++ b/cgi-bin/pgstatus.pl @@ -327,7 +327,7 @@ $sth=$db->prepare($logst); $sth->bind_param(1,$animal); $sth->bind_param(2,$dbdate); -$sth->bind_param(3,$res); +$sth->bind_param(3,$res & 0x8fffffff); # in case we get a 64 bit int status! $sth->bind_param(4,$stage); $sth->bind_param(5,$log); $sth->bind_param(6,$conf);