summaryrefslogtreecommitdiff
path: root/hw/milkymist-vgafb_template.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-01-17 10:44:40 +0100
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-01-19 08:16:41 +0000
commit0f3c3cc9507872e8d06ae888b70eac055a6a39f8 (patch)
tree8e09631d926c310a3e3ba9ab733eab61a9b9be8b /hw/milkymist-vgafb_template.h
parent3c941c613a398ca62a9852f5bd29c1400ceffb3a (diff)
downloadqemu-0f3c3cc9507872e8d06ae888b70eac055a6a39f8.tar.gz
lm32: Fix mixup of uint32 and uint32_t
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 <afaerber@suse.de> Acked-by: Michael Walle <michael@walle.cc> Cc: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/milkymist-vgafb_template.h')
-rw-r--r--hw/milkymist-vgafb_template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/milkymist-vgafb_template.h b/hw/milkymist-vgafb_template.h
index 69af9ef3f6..1d33ee8b50 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; \