summaryrefslogtreecommitdiff
path: root/src/libstddjb/uint32_reverse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/uint32_reverse.c')
-rw-r--r--src/libstddjb/uint32_reverse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/uint32_reverse.c b/src/libstddjb/uint32_reverse.c
index 18b3b43..6a33f23 100644
--- a/src/libstddjb/uint32_reverse.c
+++ b/src/libstddjb/uint32_reverse.c
@@ -1,8 +1,9 @@
/* ISC license. */
+#include <sys/types.h>
#include <skalibs/uint32.h>
-void uint32_reverse (char *s, unsigned int n)
+void uint32_reverse (char *s, size_t n)
{
while (n--)
{