diff options
author | dscho <dscho> | 2007-09-17 15:21:29 +0000 |
---|---|---|
committer | dscho <dscho> | 2007-09-17 15:21:29 +0000 |
commit | 1df143d1a156e112e9d9ae174bb89a173fe105fe (patch) | |
tree | 33458443828fc28f1ecc0492558843ca1caa2736 /x11vnc/xevents.c | |
parent | 1392ead83a06762b57d1cb1ac37108675ffc666b (diff) | |
download | libtdevnc-1df143d1a156e112e9d9ae174bb89a173fe105fe.tar.gz libtdevnc-1df143d1a156e112e9d9ae174bb89a173fe105fe.zip |
Avoid misaligned access on 64-bit machines
We used to assume that a char[256] is properly aligned to be cast to
an rfbServerInitMsg, but that was not the case. So use a union instead.
Noticed by Flavio Leitner.
Signed-off-by: Johannes Schindelin <[email protected]>
Diffstat (limited to 'x11vnc/xevents.c')
0 files changed, 0 insertions, 0 deletions