tools/nxstyle.c: Fix logic error in previous change.

This commit is contained in:
Gregory Nutt 2020-02-03 13:53:23 -06:00 committed by Abdelatif Guettouche
parent adbff7de81
commit dfcbc42679

View File

@ -1274,8 +1274,7 @@ int main(int argc, char **argv, char **envp)
/* Ignore inttype.h strings beginning with PRIx */
if (ident_index >= 4 &&
(strncmp(&line[ident_index], "PRIx", 4) == 0))
if ((strncmp(&line[ident_index], "PRIx", 4) == 0))
{
/* No error */
}