summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regfree.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/regex/regfree.c')
-rw-r--r--lib/libc/regex/regfree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/regex/regfree.c b/lib/libc/regex/regfree.c
index c979bec..3d301d8 100644
--- a/lib/libc/regex/regfree.c
+++ b/lib/libc/regex/regfree.c
@@ -58,7 +58,7 @@ void
regfree(regex_t *preg)
{
struct re_guts *g;
- int i;
+ unsigned int i;
if (preg->re_magic != MAGIC1) /* oops */
return; /* nice to complain, but hard */
OpenPOWER on IntegriCloud