]> git.notmuchmail.org Git - notmuch/blobdiff - xutil.c
TODO: Remove a couple of since-completed items.
[notmuch] / xutil.c
diff --git a/xutil.c b/xutil.c
index 26761d78e8914511a148a5fc2197175907ce2f69..6fa5eb0ddb49dfb12dcd0cf039d4165cd8f6f7cb 100644 (file)
--- a/xutil.c
+++ b/xutil.c
@@ -113,7 +113,8 @@ int
 xregexec (const regex_t *preg, const char *string,
          size_t nmatch, regmatch_t pmatch[], int eflags)
 {
-    int i, rerr;
+    unsigned int i;
+    int rerr;
 
     rerr = regexec (preg, string, nmatch, pmatch, eflags);
     if (rerr)