mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 10:19:00 +01:00
double bugfix
This commit is contained in:
parent
52eaa053a8
commit
9417e49a2b
@ -106,7 +106,7 @@ trait Tools
|
||||
return pack('V', $value);
|
||||
}
|
||||
|
||||
public function pack_signed_double($value)
|
||||
public function pack_double($value)
|
||||
{
|
||||
$res = pack('d', $value);
|
||||
if (strlen($res) !== 8) {
|
||||
|
Loading…
Reference in New Issue
Block a user