summaryrefslogtreecommitdiff
path: root/src/cursor.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-07-16 04:33:26 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-07-16 04:33:26 -0400
commit05814df9c0be77ff0168a22415e2282d093df5d5 (patch)
treedec96dba9b6bcc506fd41a13180a2ab9dc2222d0 /src/cursor.c
parentcb7840991612fbbe259bf07c53f34577c5b5c2b9 (diff)
gcc-stricter warnings, no object change
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/cursor.c')
-rw-r--r--src/cursor.c2
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)
{