From eb77f084b59607b21de13a5c83cecbda18a1d29f Mon Sep 17 00:00:00 2001 From: Mike Hamburg Date: Wed, 26 May 2010 16:35:52 -0700 Subject: [PATCH] fix 32-bit bug in source, with a hack. oh well --- compress/digitize.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compress/digitize.pl b/compress/digitize.pl index 98db16a..e8a0140 100755 --- a/compress/digitize.pl +++ b/compress/digitize.pl @@ -9,7 +9,7 @@ sub digitize { my $number = shift; if ($number >= 256) { - my $nn = sprintf("%x", $number); + my $nn = `printf "%x" $number`; if ($nn =~ /^[01f]+$/i) { return "0x$nn"; } } return $number;