[hackers] [sbase] fold: Be consistent and use size_t || sin

From: <git_AT_suckless.org>
Date: Fri, 30 Jan 2015 17:48:20 +0100 (CET)

commit 8e591ce0e109c89ed5778812e0c312a377223de0
Author: sin <sin_AT_2f30.org>
Date: Fri Jan 30 16:47:36 2015 +0000

    fold: Be consistent and use size_t

diff --git a/fold.c b/fold.c
index 03286de..95783cf 100644
--- a/fold.c
+++ b/fold.c
_AT_@ -53,7 +53,7 @@ foldline(const char *str, size_t width)
 }
 
 static void
-fold(FILE *fp, long width)
+fold(FILE *fp, size_t width)
 {
         char *buf = NULL;
         size_t size = 0;
Received on Fri Jan 30 2015 - 17:48:20 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 30 2015 - 18:00:15 CET