summaryrefslogtreecommitdiff
path: root/lib/libedit
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2021-09-26 13:45:54 +0000
committerchristos <christos@NetBSD.org>2021-09-26 13:45:54 +0000
commit7c456ac57bc0d66a6b2e10ca2c12e73702d2bd5d (patch)
treea92e0744b2b0fb8374a7cb282507e97eef2b8862 /lib/libedit
parent5e8e3daf821c49919f092f98f1f9707e2f280c59 (diff)
make flag unsigned to match prototype of the function used
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/filecomplete.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/filecomplete.h b/lib/libedit/filecomplete.h
index 60ea4894414..796ae7ab327 100644
--- a/lib/libedit/filecomplete.h
+++ b/lib/libedit/filecomplete.h
@@ -1,4 +1,4 @@
-/* $NetBSD: filecomplete.h,v 1.13 2021/03/28 13:38:10 christos Exp $ */
+/* $NetBSD: filecomplete.h,v 1.14 2021/09/26 13:45:54 christos Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@ int fn_complete2(EditLine *,
char **(*)(const char *, int, int),
const wchar_t *, const wchar_t *, const char *(*)(const char *), size_t,
int *, int *, int *, int *, unsigned int);
-#define FN_QUOTE_MATCH 1 /* Quote the returned match */
+#define FN_QUOTE_MATCH 1U /* Quote the returned match */
void fn_display_match_list(EditLine *, char **, size_t, size_t,
const char *(*)(const char *));