]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Silence compiler warning.
authorMichael R Sweet <michaelrsweet@gmail.com>
Thu, 24 Mar 2016 22:53:53 +0000 (18:53 -0400)
committerMichael R Sweet <michaelrsweet@gmail.com>
Thu, 24 Mar 2016 22:53:53 +0000 (18:53 -0400)
test/ipptool.c

index bf4af105e11cfdfbca05ac02f0be632a38b324c0..6d46da162e3dad2861f007626e4a0994dd44f9e2 100644 (file)
@@ -5802,7 +5802,7 @@ with_value(FILE            *outfile,      /* I - Output file */
     case IPP_TAG_BOOLEAN :
        for (i = 0; i < attr->num_values; i ++)
        {
-          if (!strcmp(value, "true") == attr->values[i].boolean)
+          if ((!strcmp(value, "true")) == attr->values[i].boolean)
           {
             if (!matchbuf[0])
              strlcpy(matchbuf, value, matchlen);