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/libcaca/blit.c

    r186 r188  
    5252    pitch = (3 * w + 3) / 4 * 4;
    5353
    54     for(y = y1 > 0 ? y1 : 0; y <= y2 && y <= caca_get_height(); y++)
    55         for(x = x1 > 0 ? x1 : 0; x <= x2 && x <= caca_get_width(); x++)
     54    for(y = y1 > 0 ? y1 : 0; y <= y2 && y <= (int)caca_get_height(); y++)
     55        for(x = x1 > 0 ? x1 : 0; x <= x2 && x <= (int)caca_get_width(); x++)
    5656        {
    5757            int fromx = w * (x - x1) / (x2 - x1 + 1);
Note: See TracChangeset for help on using the changeset viewer.