Skip to content
Snippets Groups Projects
Commit 744d79e3 authored by bernd's avatar bernd
Browse files

FS#1011-fix

darcs-hash:20070306005940-9f3ed-ac84cbb540ec7830aedba5b3451e58522decfffa.gz
parent db09e31e
No related branches found
No related tags found
No related merge requests found
......@@ -239,7 +239,8 @@ class ZipLib
while ($pos < $size)
{
$byte = @fread($zip, 1); $bytes=($bytes << 8) | Ord($byte);
$byte = @fread($zip, 1);
$bytes=(($bytes << 8) & 0xFFFFFFFF) | Ord($byte);
if ($bytes == 0x504b0506){ $pos++; break; } $pos++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment