diff options
author | Lukas Venhoda <lvenhoda@redhat.com> | 2015-06-29 14:58:25 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-07-02 13:31:28 +0200 |
commit | 5a7e5876e6ec718b4288850ea7f94dcd55bdf92c (patch) | |
tree | e15b54d62c6a98fdd4df6d1ed38becd20059c6e5 /python_modules/spice_parser.py | |
parent | c04d4d55bc3373f42c70e7395cfdbd09e3d4c0d5 (diff) | |
download | spice-common-5a7e5876e6ec718b4288850ea7f94dcd55bdf92c.tar.gz spice-common-5a7e5876e6ec718b4288850ea7f94dcd55bdf92c.tar.xz spice-common-5a7e5876e6ec718b4288850ea7f94dcd55bdf92c.zip |
ppc: Fix lz magic endianess
Commit d39dfbfe changes lz magic to be always treated as LE when encoded.
Runtime conversion from a string to uint32 is storing the magic with the same
endianness on both LE and BE machines. This requires aditional byte swap
when sending magic between LE/BE machines.
Changing lz magic to a constant will ensure, that it will be always stored in
native endianness, and the second byte swap won't be needed.
This commit reverts d39dfbfe changes in lz.c while keeping the rest.
They will be needed in future commit for quic.c
Diffstat (limited to 'python_modules/spice_parser.py')
0 files changed, 0 insertions, 0 deletions