summaryrefslogtreecommitdiffstats
path: root/x11vnc/linuxfb.h
diff options
context:
space:
mode:
authordscho <dscho>2007-09-17 15:21:29 +0000
committerdscho <dscho>2007-09-17 15:21:29 +0000
commit1df143d1a156e112e9d9ae174bb89a173fe105fe (patch)
tree33458443828fc28f1ecc0492558843ca1caa2736 /x11vnc/linuxfb.h
parent1392ead83a06762b57d1cb1ac37108675ffc666b (diff)
downloadlibtdevnc-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/linuxfb.h')
0 files changed, 0 insertions, 0 deletions