diff options
Diffstat (limited to 'src/cursor.c')
-rw-r--r-- | src/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cursor.c b/src/cursor.c index cfe0a09..9a0cb28 100644 --- a/src/cursor.c +++ b/src/cursor.c @@ -127,7 +127,7 @@ NewFontCursor (Cursor *cp, const char *str) { int i; - for (i = 0; i < sizeof(cursor_names)/sizeof(struct _CursorName); i++) + for (i = 0; (size_t)i < sizeof(cursor_names)/sizeof(struct _CursorName); i++) { if (strcmp(str, cursor_names[i].name) == 0) { |