vnc: Fix incorrect attempt to clear a flag
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 7 Apr 2009 19:57:09 +0000 (19:57 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 7 Apr 2009 19:57:09 +0000 (19:57 +0000)
commit3cded5400925452fcd1adca9109a5d30a92b4dac
treef889c2f80609fcc0c4b37cf80a8dd27fd4e8f2d4
parentceb42de899e068d10f104d570c3fb3b36ec8e8d6
vnc: Fix incorrect attempt to clear a flag

In vnc.c in pixel_format_message, the code tries to clear the
QEMU_ALLOCATED_FLAG from the client display surface, however
it uses the wrong operator and ends up enabling all other
flags. Most notably this enables the big endian flag and
causes some chaos.

Signed-off-by: Brian Kress <kressb@moose.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7022 c046a42c-6fe2-441c-8c8c-71466251a162
vnc.c