sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 3faf7c2cd895912714be852722af349e6e55abf8
parent 6b39425ca9f58ec9424ebefbaceb544a7b426a84
Author: sin <sin@2f30.org>
Date:   Tue Dec 15 09:39:57 +0000

Fix warning in join(1)

Spotted by Random832.

Diffstat:
join.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/join.c b/join.c @@ -263,7 +263,7 @@ addtospan(struct span *sp, FILE *fp, int reset) char *newl = NULL; size_t len, size = 0; - if ((len = getline(&newl, &size, fp)) == -1) { + if ((len = getline(&newl, &size, fp)) == (size_t)-1) { if (ferror(fp)) eprintf("getline:"); else