qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

cirrus: fix PUTPIXEL macro

Should be "c" not "col". The macro is used with "col" as third parameter
everywhere, so this tyops doesn't break something.

Fixes: 026aeffcb4752054830ba203020ed6eb05bcaba8
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-id: 1490168303-24588-1-git-send-email-kraxel@redhat.com

+2 -2
+2 -2
hw/display/cirrus_vga_rop2.h
··· 29 29 #elif DEPTH == 24 30 30 #define PUTPIXEL(s, a, c) do { \ 31 31 ROP_OP(s, a, c); \ 32 - ROP_OP(s, a + 1, (col >> 8)); \ 33 - ROP_OP(s, a + 2, (col >> 16)); \ 32 + ROP_OP(s, a + 1, (c >> 8)); \ 33 + ROP_OP(s, a + 2, (c >> 16)); \ 34 34 } while (0) 35 35 #elif DEPTH == 32 36 36 #define PUTPIXEL(s, a, c) ROP_OP_32(s, a, c)