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
master
Benno Schulenberg 2014-06-10 19:50:44 +00:00
parent a8a23abc00
commit 7d5f42ca08
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View 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;