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/tools/makefont.c

    r4148 r4149  
    188188    printf("\n");
    189189
    190     printf("static unsigned int const %s_size = %i;\n",
     190    printf("static size_t const %s_size = %i;\n",
    191191           prefix, 4 + control_size + data_size);
    192     printf("static char %s_data[%i] =\n", prefix, 4 + control_size + data_size);
     192    printf("static uint8_t %s_data[%i] =\n",
     193           prefix, 4 + control_size + data_size);
    193194    printf("{\n");
    194195
Note: See TracChangeset for help on using the changeset viewer.