]> git.cameronkatri.com Git - mandoc.git/blobdiff - test-strcasestr.c
Fix an obvious bug found during the /* FALLTHROUGH */ cleanup:
[mandoc.git] / test-strcasestr.c
index 479ba9138f856f6f8a65446740211abc4db4c440..c3a87de82e16a433deb17df446f512e5c184b4ed 100644 (file)
@@ -9,5 +9,5 @@ main(void)
 {
        const char *big = "BigString";
        char *cp = strcasestr(big, "Gst");
-       return(big + 2 != cp);
+       return cp != big + 2;
 }