summaryrefslogtreecommitdiff
path: root/src/libstddjb/tain_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/tain_scan.c')
-rw-r--r--src/libstddjb/tain_scan.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstddjb/tain_scan.c b/src/libstddjb/tain_scan.c
index 84a0cab..6ab181d 100644
--- a/src/libstddjb/tain_scan.c
+++ b/src/libstddjb/tain_scan.c
@@ -1,12 +1,13 @@
/* ISC license. */
+#include <sys/types.h>
#include <skalibs/fmtscan.h>
#include <skalibs/tai.h>
-unsigned int tain_scan (char const *s, tain_t *a)
+size_t tain_scan (char const *s, tain_t *a)
{
char pack[TAIN_PACK] ;
- register unsigned int r = ucharn_scan(s, pack, TAIN_PACK) ;
+ size_t r = ucharn_scan(s, pack, TAIN_PACK) ;
if (r) tain_unpack(pack, a) ;
return r ;
}