mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 00:40:26 +00:00
Fix typo in big endian unmarshalling code
This was subtly breaking everything.
This commit is contained in:
parent
a40b2767c5
commit
1e28876494
@ -1141,7 +1141,7 @@ static const uint8_t *unmarshal_one(
|
|||||||
u.bytes[0] = data[8];
|
u.bytes[0] = data[8];
|
||||||
u.bytes[1] = data[7];
|
u.bytes[1] = data[7];
|
||||||
u.bytes[2] = data[6];
|
u.bytes[2] = data[6];
|
||||||
u.bytes[5] = data[5];
|
u.bytes[3] = data[5];
|
||||||
u.bytes[4] = data[4];
|
u.bytes[4] = data[4];
|
||||||
u.bytes[5] = data[3];
|
u.bytes[5] = data[3];
|
||||||
u.bytes[6] = data[2];
|
u.bytes[6] = data[2];
|
||||||
|
Loading…
Reference in New Issue
Block a user