[AD] bcc32 doesn't like dat2c

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


bcc32 doesn't like how a certain variable is constructed in dat2c.c

It doesn't like the way c[4] is handled, so I just expanded it. 

----dat2c.c----
int id = va_arg(va, int);
int c[4];
int i = 0; 

/* bcc32 doesn't like these values as initializers */
c[0] = (id >> 24) & 255;
c[1] = (id >> 16) & 255;
c[2] = (id >> 8) & 255;
c[3] = id & 255;
----end----

--
Matthew Leverton - matthew@xxxxxxxxxx 
http://www.allegro.cc



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/