summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-04-25 16:39:06 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-04-25 16:39:06 +0000
commitdcfa349f283a0abd1f55d4bb12c96fa287f3395d (patch)
tree6e82c7785a4ac15ab4e49ffee4bb7eb818ca97ea /lib
parent78b211936dd81bb8b0a9f33cef1da3adbdba19f4 (diff)
Missed this in last ncurses sync
Diffstat (limited to 'lib')
-rw-r--r--lib/libform/fty_enum.c8
1 files 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;