Skip to content

Conversation

@mbrukman
Copy link

  • Add missing parens inside if statement calling strcmp()
  • Add missing 0 parameter to print_bool()

Before this change:

$CC pprintint.h                    # success
$CC -DPPRINTINT_TEST pprintint.h   # failure

After this change:

$CC pprintint.h                    # success
$CC -DPPRINTINT_TEST pprintint.h   # success

Tested with both Clang and GCC.

* Add missing parens inside `if` statement calling `strcmp()`
* Add missing `0` parameter to `print_bool()`

Before this change:

    $CC pprintint.h                    # success
    $CC -DPPRINTINT_TEST pprintint.h   # failure

After this change:

    $CC pprintint.h                    # success
    $CC -DPPRINTINT_TEST pprintint.h   # success

Tested with both Clang and GCC.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant