summaryrefslogtreecommitdiff
path: root/src/skaembutils/s6-seq.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-01-07 21:43:42 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-01-07 21:43:42 +0000
commit1ddf95240c77ae0786dd29e14acdf3549be9094c (patch)
treeebff87b299cb9fec7a841c03ac13e54a9f165952 /src/skaembutils/s6-seq.c
parent1a5f11e0cf9e5287a50f032838e787c38003a1a4 (diff)
downloads6-portable-utils-1ddf95240c77ae0786dd29e14acdf3549be9094c.tar.xz
Types fix: first pass
Preparation for the skalibs size_t API change.
Diffstat (limited to 'src/skaembutils/s6-seq.c')
-rw-r--r--src/skaembutils/s6-seq.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/skaembutils/s6-seq.c b/src/skaembutils/s6-seq.c
index bad4afd..db319e6 100644
--- a/src/skaembutils/s6-seq.c
+++ b/src/skaembutils/s6-seq.c
@@ -1,5 +1,6 @@
/* ISC license. */
+#include <sys/types.h>
#include <skalibs/uint.h>
#include <skalibs/sgetopt.h>
#include <skalibs/buffer.h>
@@ -11,8 +12,8 @@
int main (int argc, char const *const *argv)
{
char const *sep = "\n" ;
- unsigned int fixed = 0, seplen = 1, i = 1, increment = 1 ;
- unsigned int last ;
+ size_t fixed = 0, seplen = 1 ;
+ unsigned int i = 1, increment = 1, last ;
char fmt[UINT_FMT] ;
PROG = "s6-seq" ;
{