Ignore:
Timestamp:
Nov 18, 2005, 11:46:53 AM (17 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Fixed remaining warnings with gcc 3.x and 4.x
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/examples/cacamoir.c

    r377 r514  
    4545int main (int argc, char **argv)
    4646{
    47     int red[256], green[256], blue[256], alpha[256];
     47    unsigned int red[256], green[256], blue[256], alpha[256];
    4848    struct caca_bitmap *bitmap;
    4949    int i, x, y, frame = 0, pause = 0;
     
    119119static void put_disc(int x, int y)
    120120{
    121     char *src = disc + (DISCSIZ / 2 - x) + (DISCSIZ / 2 - y) * DISCSIZ;
     121    char *src = ((char*)disc) + (DISCSIZ / 2 - x) + (DISCSIZ / 2 - y) * DISCSIZ;
    122122    int i, j;
    123123
Note: See TracChangeset for help on using the changeset viewer.