-#define ao_fifo_insert(f,c) do { \
- (f).fifo[(f).insert] = (c); \
- (f).insert = ((f).insert + 1) & (AO_FIFO_SIZE-1); \
-} while(0)
+#define ao_fifo_insert(f,c) do { \
+ (f).fifo[(f).insert] = (char) (c); \
+ (f).insert = ((f).insert + 1) & (AO_FIFO_SIZE-1); \
+ } while(0)