1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 08:20:27 +00:00

Fix typo in big endian unmarshalling code

This was subtly breaking everything.
This commit is contained in:
q66 2020-03-30 19:14:00 +02:00 committed by Calvin Rose
parent a40b2767c5
commit 1e28876494

View File

@ -1141,7 +1141,7 @@ static const uint8_t *unmarshal_one(
u.bytes[0] = data[8];
u.bytes[1] = data[7];
u.bytes[2] = data[6];
u.bytes[5] = data[5];
u.bytes[3] = data[5];
u.bytes[4] = data[4];
u.bytes[5] = data[3];
u.bytes[6] = data[2];