commit 7d5f42ca080b5a087c19c9c5b5d54b402fb393a1
parent a8a23abc000827b9f532c8658872fb4f478f629c
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Tue, 10 Jun 2014 19:50:44 +0000
Using the right type to avoid a compiler warning.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4955 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,6 +1,7 @@
2014-06-10 Benno Schulenberg <bensberg@justemail.net>
* src/browser.c, src/files.c, src/nano.c src/prompt.c, src/winio.c:
A few minimalistic whitespace adjustments.
+ * src/rcfile.c (check_bad_binding): Avoid a compiler warning.
2014-06-10 David Lawrence Ramsey <pooka109@gmail.com>
* src/winio.c: One more type fix and two tiny message tweaks.
diff --git a/src/rcfile.c b/src/rcfile.c
@@ -383,7 +383,7 @@ void parse_syntax(char *ptr)
int check_bad_binding(sc *s)
{
#define BADLISTLEN 1
- int badtypes[BADLISTLEN] = {META};
+ function_type badtypes[BADLISTLEN] = {META};
int badseqs[BADLISTLEN] = { 91 };
int i;