Skip to content

Commit 4a61f3d

Browse files
authored
Update BinLogPack.php
1 parent e1678c4 commit 4a61f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/BinLogPack.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public function readUint16()
208208

209209
public function readUint24()
210210
{
211-
$data = unpack("CCC", $this->read(3));
211+
$data = unpack("C3", $this->read(3));
212212
return $data[1] + ($data[2] << 8) + ($data[3] << 16);
213213
}
214214

0 commit comments

Comments
 (0)