diff options
author | Lukas Venhoda <lvenhoda@redhat.com> | 2015-06-29 14:58:26 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-07-02 13:31:28 +0200 |
commit | 6183bbde2470cbf2c212d00d1c4b782f23dcd638 (patch) | |
tree | 103ba6f5e15ed129b97e6bc7515b8ea5038c9bcd /python_modules/spice_parser.py | |
parent | 5a7e5876e6ec718b4288850ea7f94dcd55bdf92c (diff) | |
download | spice-common-6183bbde2470cbf2c212d00d1c4b782f23dcd638.tar.gz spice-common-6183bbde2470cbf2c212d00d1c4b782f23dcd638.tar.xz spice-common-6183bbde2470cbf2c212d00d1c4b782f23dcd638.zip |
ppc: Fix quic magic endianess
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 quic magic to a constant will ensure, that it will be always stored in
native endianness, and the second byte swap won't be needed.
Diffstat (limited to 'python_modules/spice_parser.py')
0 files changed, 0 insertions, 0 deletions