diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-10-18 17:40:55 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2012-10-18 17:44:23 +0200 |
commit | cb27e9dad6f25630b95dc7d9acffdb556aeff174 (patch) | |
tree | 5f565eefaf0992bd1e8e64f6d1bfb3120b6824b0 /build-aux | |
parent | a179434aa9371a037a63858884f64b3cc06ff955 (diff) | |
download | spice-cb27e9dad6f25630b95dc7d9acffdb556aeff174.tar.gz spice-cb27e9dad6f25630b95dc7d9acffdb556aeff174.tar.xz spice-cb27e9dad6f25630b95dc7d9acffdb556aeff174.zip |
inputs_channel: Fix wrong handling of key up/down on big endian
The client will send 0x000000## codes for regular keys, and 0x0000##e0 codes
for extended keys. The current code which simply walks the uint32_t code in
memory order relies on the memory order being little endian, which will
clearly fail on big endian machines, this fixes this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions