Ignore:
Timestamp:
Dec 19, 2009, 3:38:47 PM (10 years ago)
Author:
Sam Hocevar
Message:

Store built-in fonts in a uin8_t[] instead of char[].

File:
1 edited

Legend:

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

    r4148 r4149  
    119119    {
    120120        if(!strcasecmp(data, "Monospace 9"))
    121             return caca_load_font((char *)&mono9_data, mono9_size);
     121            return caca_load_font(mono9_data, mono9_size);
    122122        if(!strcasecmp(data, "Monospace Bold 12"))
    123             return caca_load_font((char *)&monobold12_data, monobold12_size);
     123            return caca_load_font(monobold12_data, monobold12_size);
    124124
    125125        seterrno(ENOENT);
Note: See TracChangeset for help on using the changeset viewer.