Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libedit make flag unsigned to match prototype of the fun...



details:   https://anonhg.NetBSD.org/src/rev/b61dc655fd37
branches:  trunk
changeset: 1023790:b61dc655fd37
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Sep 26 13:45:54 2021 +0000

description:
make flag unsigned to match prototype of the function used

diffstat:

 lib/libedit/filecomplete.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7a22847bf677 -r b61dc655fd37 lib/libedit/filecomplete.h
--- a/lib/libedit/filecomplete.h        Sun Sep 26 13:45:37 2021 +0000
+++ b/lib/libedit/filecomplete.h        Sun Sep 26 13:45:54 2021 +0000
@@ -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 @@
     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 *));



Home | Main Index | Thread Index | Old Index