]> git.wh0rd.org Git - nano.git/commitdiff
Using the right type to avoid a compiler warning.
authorBenno Schulenberg <bensberg@justemail.net>
Tue, 10 Jun 2014 19:50:44 +0000 (19:50 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Tue, 10 Jun 2014 19:50:44 +0000 (19:50 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4955 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/rcfile.c

index d5bac19e24b22716b35fe78899373c9a2e70d305..53b430cce039110e57548b709b03912cb991f292 100644 (file)
--- 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.
index 1c6720f923fc0b2bfb99d6bc0a24dc0204966028..6d3cdaf16b9b96d81733b148b988f77c8f3849c8 100644 (file)
@@ -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;