From 05814df9c0be77ff0168a22415e2282d093df5d5 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Tue, 16 Jul 2019 04:33:26 -0400 Subject: gcc-stricter warnings, no object change Signed-off-by: Thomas E. Dickey --- src/cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cursor.c') 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) { -- cgit v1.2.3