diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-20 08:15:22 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-20 08:15:22 +0000 |
commit | b30a4fc9ee917f4547e3038fa64e6b5b189104b9 (patch) | |
tree | c800af3b9dab43ee9cd5c4851147733d4d9b1409 /istream.c | |
parent | remove funcname.c funcname1.h funcname2.h; autogenerated files (diff) | |
download | w3m-b30a4fc9ee917f4547e3038fa64e6b5b189104b9.tar.gz w3m-b30a4fc9ee917f4547e3038fa64e6b5b189104b9.zip |
remove gcc warnings
Diffstat (limited to 'istream.c')
-rw-r--r-- | istream.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: istream.c,v 1.4 2001/11/16 22:02:00 ukai Exp $ */ +/* $Id: istream.c,v 1.5 2001/11/20 08:15:22 ukai Exp $ */ #include "fm.h" #include "istream.h" #include <signal.h> @@ -229,7 +229,7 @@ StrISgets(InputStream stream) do_update(base); } else { - if (p = memchr(&sb->buf[sb->cur], '\n', sb->next - sb->cur)) { + if ((p = memchr(&sb->buf[sb->cur], '\n', sb->next - sb->cur))) { len = p - &sb->buf[sb->cur] + 1; if (s == NULL) s = Strnew_size(len); |