mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
fix 32-bit bug in source, with a hack. oh well
This commit is contained in:
parent
d5d716486e
commit
eb77f084b5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user