From 7d5f42ca080b5a087c19c9c5b5d54b402fb393a1 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 10 Jun 2014 19:50:44 +0000 Subject: [PATCH] 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 --- ChangeLog | 1 + src/rcfile.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d5bac19e..53b430cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2014-06-10 Benno Schulenberg * 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 * src/winio.c: One more type fix and two tiny message tweaks. diff --git a/src/rcfile.c b/src/rcfile.c index 1c6720f9..6d3cdaf1 100644 --- 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; -- 2.39.5