diff options
author | Bas van Sisseren <bas@vansisseren.nl> | 2017-08-12 14:40:49 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-08-15 11:33:43 +1000 |
commit | a14ce77b28146526661c79c89b2e6ff6837c2bb0 (patch) | |
tree | a2ddf36cb50e584a59bcae8a36b9ab3bc7c0b535 /py/nativeglue.c | |
parent | c127ace28a4faeb93ef86743c703a14258137efc (diff) | |
download | micropython-a14ce77b28146526661c79c89b2e6ff6837c2bb0.tar.gz micropython-a14ce77b28146526661c79c89b2e6ff6837c2bb0.zip |
py/binary.c: Fix bug when packing big-endian 'Q' values.
Without bugfix:
struct.pack('>Q', 16)
b'\x00\x00\x00\x10\x00\x00\x00\x00'
With bugfix:
struct.pack('>Q', 16)
b'\x00\x00\x00\x00\x00\x00\x00\x10'
Diffstat (limited to 'py/nativeglue.c')
0 files changed, 0 insertions, 0 deletions