Update of /cvsroot/pure-data/externals/pdp/system/type In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13997
Modified Files: pdp_bitmap.c Log Message: fixed storage-class to make gcc happy
Index: pdp_bitmap.c =================================================================== RCS file: /cvsroot/pure-data/externals/pdp/system/type/pdp_bitmap.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pdp_bitmap.c 16 Dec 2005 01:05:40 -0000 1.3 --- pdp_bitmap.c 21 Jul 2006 15:33:30 -0000 1.4 *************** *** 464,467 **** --- 464,472 ---- }
+ static inline u8 _map(s32 pixel){ + s32 mask = ~(pixel>>16); + return ((pixel >> 7) & mask); + } + static int _pdp_packet_bitmap_convert_mchp_to_rgb8(int packet, t_pdp_symbol *dest_template) { *************** *** 476,484 **** int new_p, i;
- static inline u8 _map(s32 pixel){ - s32 mask = ~(pixel>>16); - return ((pixel >> 7) & mask); - } - switch(nb_channels){ default: return -1; --- 481,484 ----