From 3b2be2d92b03cf6c660d3864510ef0f061a3de31 Mon Sep 17 00:00:00 2001 From: millert Date: Tue, 25 Apr 2000 16:39:05 +0000 Subject: [PATCH] Missed this in last ncurses sync --- lib/libform/fty_enum.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libform/fty_enum.c b/lib/libform/fty_enum.c index 3daf136474d..3139cdfd040 100644 --- a/lib/libform/fty_enum.c +++ b/lib/libform/fty_enum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fty_enum.c,v 1.5 1999/05/17 03:04:18 millert Exp $ */ +/* $OpenBSD: fty_enum.c,v 1.6 2000/04/25 16:39:05 millert Exp $ */ /* @@ -15,7 +15,7 @@ #include "form.priv.h" -MODULE_ID("$From: fty_enum.c,v 1.10 1999/05/16 17:23:14 juergen Exp $") +MODULE_ID("$From: fty_enum.c,v 1.11 2000/03/19 01:09:56 Bruno.Haible Exp $") typedef struct { char **kwds; @@ -227,7 +227,7 @@ static bool Next_Enum(FIELD * field, const void * argp) } if (cnt<=0) kwds = args->kwds; - if ((cnt>=0) || (Compare((unsigned char *)dummy,bp,ccase)==EXACT)) + if ((cnt>=0) || (Compare((const unsigned char *)dummy,bp,ccase)==EXACT)) { set_field_buffer(field,0,*kwds); return TRUE; @@ -263,7 +263,7 @@ static bool Previous_Enum(FIELD * field, const void * argp) if (cnt<=0) kwds = &args->kwds[args->count-1]; - if ((cnt>=0) || (Compare((unsigned char *)dummy,bp,ccase)==EXACT)) + if ((cnt>=0) || (Compare((const unsigned char *)dummy,bp,ccase)==EXACT)) { set_field_buffer(field,0,*kwds); return TRUE; -- 2.20.1