Changeset 187 for libcaca/trunk/libcaca/graphics.c
- Timestamp:
- Nov 16, 2003, 12:26:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/libcaca/graphics.c
r185 r187 64 64 void caca_putchar(int x, int y, char c) 65 65 { 66 if(x < 0 || x >= caca_get_width() || y < 0 || y >= caca_get_height()) 66 if(x < 0 || x >= (int)caca_get_width() || 67 y < 0 || y >= (int)caca_get_height()) 67 68 return; 68 69 … … 83 84 void caca_putstr(int x, int y, const char *s) 84 85 { 85 int len;86 unsigned int len; 86 87 87 if(y < 0 || y >= caca_get_height() || x >=caca_get_width())88 if(y < 0 || y >= (int)caca_get_height() || x >= (int)caca_get_width()) 88 89 return; 89 90 … … 130 131 va_list args; 131 132 132 if(y < 0 || y >= caca_get_height() || x >=caca_get_width())133 if(y < 0 || y >= (int)caca_get_height() || x >= (int)caca_get_width()) 133 134 return; 134 135
Note: See TracChangeset
for help on using the changeset viewer.