Ignore:
Timestamp:
Apr 19, 2008, 4:07:50 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Changed most "unsigned char" variables into "uint8_t", including in prototypes. As they are equivalent, this does not break the ABI.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_conio.c

    r2299 r2300  
    136136static int conio_get_event(caca_display_t *dp, caca_privevent_t *ev)
    137137{
    138     unsigned char ch;
     138    uint8_t ch;
    139139    caca_privevent_t release;
    140140
     
    149149    ev->type = CACA_EVENT_KEY_PRESS;
    150150    ev->data.key.ch = ch;
    151     ev->data.key.utf32 = (uint32_t)ch;
     151    ev->data.key.utf32 = ch;
    152152    ev->data.key.utf8[0] = ch;
    153153    ev->data.key.utf8[1] = '\0';
Note: See TracChangeset for help on using the changeset viewer.