aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorRoland Illig <rillig@NetBSD.org>2020-03-27 11:58:22 +0000
committerTatsuya Kinoshita <tats@debian.org>2020-03-27 11:58:22 +0000
commitced87de02c392e79d69e8199e1f69aab91ac30bb (patch)
treeac02b93358ee5c9411e9d6ac89c069e6248695b4 /main.c
parentUpdate ChangeLog (diff)
downloadw3m-ced87de02c392e79d69e8199e1f69aab91ac30bb.tar.gz
w3m-ced87de02c392e79d69e8199e1f69aab91ac30bb.zip
Fix -Wchar-subscripts
Origin: http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/www/w3m/patches/patch-main.c?rev=1.1&content-type=text/plain Bug: https://sourceforge.net/p/w3m/patches/76/
Diffstat (limited to '')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 1cf8131..2fcc60c 100644
--- a/main.c
+++ b/main.c
@@ -397,8 +397,8 @@ int
main(int argc, char **argv, char **envp)
{
Buffer *newbuf = NULL;
- char *p, c;
- int i;
+ char *p;
+ int c, i;
InputStream redin;
char *line_str = NULL;
char **load_argv;