From patchwork Thu Jan 19 10:32:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [3/5] lm32: Fix mixup of uint32 and uint32_t Date: Thu, 19 Jan 2012 00:32:05 -0000 From: Stefan Hajnoczi X-Patchwork-Id: 136811 Message-Id: <1326969127-22458-4-git-send-email-stefanha@linux.vnet.ibm.com> To: Anthony Liguori Cc: Peter Maydell , qemu-devel@nongnu.org, Stefan Hajnoczi , =?UTF-8?q?Andreas=20F=C3=A4rber?= From: Andreas Färber Commit d23948b15a9920fb7f6374b55a6db1ecff81f3ee (lm32: add Milkymist VGAFB support) introduced a stray usage of the softfloat uint32 type. Use uint32_t instead. Signed-off-by: Andreas Färber Acked-by: Michael Walle Cc: Peter Maydell Signed-off-by: Stefan Hajnoczi --- hw/milkymist-vgafb_template.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/milkymist-vgafb_template.h b/hw/milkymist-vgafb_template.h index 69af9ef..1d33ee8 100644 --- a/hw/milkymist-vgafb_template.h +++ b/hw/milkymist-vgafb_template.h @@ -39,7 +39,7 @@ #elif BITS == 24 #define COPY_PIXEL(to, r, g, b) \ do { \ - uint32 tmp = rgb_to_pixel24(r, g, b); \ + uint32_t tmp = rgb_to_pixel24(r, g, b); \ *(to++) = tmp & 0xff; \ *(to++) = (tmp >> 8) & 0xff; \ *(to++) = (tmp >> 16) & 0xff; \