Fixed Reading UI32 values

This commit is contained in:
Jindra Petřík
2022-12-03 11:56:46 +01:00
parent 2f91b00c04
commit 307cb6aadf
2 changed files with 2 additions and 1 deletions

View File

@@ -550,7 +550,7 @@ public class SWFInputStream implements AutoCloseable {
* @throws IOException
*/
private long readUI32Internal() throws IOException {
return (readEx() + (readEx() << 8) + (readEx() << 16) + (readEx() << 24)) & 0xffffffff;
return (readEx() + (readEx() << 8) + (readEx() << 16) + (readEx() << 24)) & 0xffffffffL;
}
/**