mirror of https://github.com/xemu-project/xemu.git
lm32: Fix mixup of uint32 and uint32_t
Commit d23948b15a
(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>
This commit is contained in:
parent
3c941c613a
commit
0f3c3cc950
|
@ -39,7 +39,7 @@
|
||||||
#elif BITS == 24
|
#elif BITS == 24
|
||||||
#define COPY_PIXEL(to, r, g, b) \
|
#define COPY_PIXEL(to, r, g, b) \
|
||||||
do { \
|
do { \
|
||||||
uint32 tmp = rgb_to_pixel24(r, g, b); \
|
uint32_t tmp = rgb_to_pixel24(r, g, b); \
|
||||||
*(to++) = tmp & 0xff; \
|
*(to++) = tmp & 0xff; \
|
||||||
*(to++) = (tmp >> 8) & 0xff; \
|
*(to++) = (tmp >> 8) & 0xff; \
|
||||||
*(to++) = (tmp >> 16) & 0xff; \
|
*(to++) = (tmp >> 16) & 0xff; \
|
||||||
|
|
Loading…
Reference in New Issue