summaryrefslogtreecommitdiff
path: root/src/termlib.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-29 21:20:48 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-29 21:20:48 +0100
commit2f6271b1e7cff985cac66f6850116bcf3fcccd58 (patch)
treee19881c35030148e1c4981e8589b7c49bdddd23d /src/termlib.c
parenta86f14a923d9a242107c16d0852f61f3daf985a8 (diff)
downloadvim-git-2f6271b1e7cff985cac66f6850116bcf3fcccd58.tar.gz
patch 7.4.1462v7.4.1462
Problem: Two more rarily used functions with errors. Solution: Add proper argument types. (Dominique Pelle)
Diffstat (limited to 'src/termlib.c')
-rw-r--r--src/termlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/termlib.c b/src/termlib.c
index 9488a320e..59eab7d97 100644
--- a/src/termlib.c
+++ b/src/termlib.c
@@ -140,7 +140,7 @@ tgetent(
}
static int
-getent(char *tbuf, *term, FILE *termcap, int buflen)
+getent(char *tbuf, char *term, FILE *termcap, int buflen)
{
char *tptr;
int tlen = strlen(term);