compile fix for older gcc

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@821 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Michael Gernoth 2005-02-28 22:38:24 +00:00
parent 19719019b2
commit a652d3209d

7
xwin.c
View File

@ -764,19 +764,22 @@ translate24to32(const uint8 * data, uint8 * out, uint8 * end)
if (g_arch_match)
{
/* *INDENT-OFF* */
#ifdef NEED_ALIGN
REPEAT4
(
#ifdef NEED_ALIGN
*(out++) = *(data++);
*(out++) = *(data++);
*(out++) = *(data++);
*(out++) = 0;
)
#else
REPEAT4
(
*((uint32 *) out) = *((uint32 *) data);
out += 4;
data += 3;
#endif
)
#endif
/* *INDENT-ON* */
}
else if (g_xserver_be)