Ignore:
Timestamp:
Nov 16, 2003, 12:26:54 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • configure.ac: + Added -Wsign-compare to the warning flags.
  • libcaca/caca.c: + Fixed a signed/unsigned bug that caused infinite waits with

ee_set_delay(0).

  • src/weapons.c libcaca/graphics.c libcaca/blit.c libcaca/conic.c: + Fixed minor signed/unsigned comparison warnings.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/src/weapons.c

    r186 r188  
    5050void draw_weapons(game *g, weapons *wp)
    5151{
    52     int i;
     52    unsigned int i;
    5353
    5454    for(i = 0; i < WEAPONS; i++)
     
    9696void update_weapons(game *g, weapons *wp)
    9797{
    98     int i, j, dist, xmin, ymin, dx, dy, xnew, ynew;
     98    unsigned int i, j;
     99    int dist, xmin, ymin, dx, dy, xnew, ynew;
    99100
    100101    for(i = 0; i < WEAPONS; i++)
Note: See TracChangeset for help on using the changeset viewer.