summaryrefslogtreecommitdiff
path: root/src/libstddjb/ucharn_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/ucharn_scan.c')
-rw-r--r--src/libstddjb/ucharn_scan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/ucharn_scan.c b/src/libstddjb/ucharn_scan.c
index cdcc403..b544d0d 100644
--- a/src/libstddjb/ucharn_scan.c
+++ b/src/libstddjb/ucharn_scan.c
@@ -1,8 +1,9 @@
/* ISC license. */
+#include <sys/types.h>
#include <skalibs/fmtscan.h>
-unsigned int ucharn_scan (char const *s, char *key, unsigned int n)
+size_t ucharn_scan (char const *s, char *key, size_t n)
{
register unsigned int i = 0 ;
for (; i < n ; i++)