aboutsummaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-05-31 12:56:49 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-05-31 12:56:49 -0700
commita67a25704406456cbd1d84115892c9cb5187b06c (patch)
tree2e0eef9509d87b9a1c678dde6e78a49ba3e2788c /match.c
parentda6c8857d6bad131635a846e8177e7c00a4c224e (diff)
Fix compiler warning nits
Diffstat (limited to 'match.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index bdf13df..f7ad3ad 100644
--- a/match.c
+++ b/match.c
@@ -472,7 +472,7 @@ static match_t *match(def_t *defs, file_t *f, const char *str, pat_t *pat, bool
return p ? new_match(pat, str, p->end, p) : NULL;
}
default: {
- errx(EXIT_FAILURE, "Unknown pattern type: %d", pat->type);
+ errx(EXIT_FAILURE, "Unknown pattern type: %u", pat->type);
return NULL;
}
}