diff options
Diffstat (limited to 'test-wildmatch.c')
-rw-r--r-- | test-wildmatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test-wildmatch.c b/test-wildmatch.c index ac5642037d..77014e99dc 100644 --- a/test-wildmatch.c +++ b/test-wildmatch.c @@ -4,9 +4,9 @@ int main(int argc, char **argv) { if (!strcmp(argv[1], "wildmatch")) - return wildmatch(argv[3], argv[2]) ? 0 : 1; + return !!wildmatch(argv[3], argv[2]); else if (!strcmp(argv[1], "iwildmatch")) - return iwildmatch(argv[3], argv[2]) ? 0 : 1; + return !!iwildmatch(argv[3], argv[2]); else if (!strcmp(argv[1], "fnmatch")) return !!fnmatch(argv[3], argv[2], FNM_PATHNAME); else |