mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-03 05:44:10 -08:00
Fix IR serialization issue
This commit is contained in:
parent
a8226ef6a3
commit
eeaa71072a
|
@ -65,7 +65,7 @@ public class VarDataInput {
|
||||||
|
|
||||||
public long readSignedLong() throws IOException {
|
public long readSignedLong() throws IOException {
|
||||||
long value = readUnsignedLong();
|
long value = readUnsignedLong();
|
||||||
return (value & 1) == 0 ? (value >> 1) : ~(value >> 1);
|
return (value & 1) == 0 ? (value >>> 1) : ~(value >>> 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public float readFloat() throws IOException {
|
public float readFloat() throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user