rcseacord / cmp_int

C implementation of C++ Utility functions https://en.cppreference.com/w/cpp/utility/intcmp
MIT License
18 stars 1 forks source link

expressions have type `int` #8

Closed gustedt closed 3 years ago

gustedt commented 3 years ago

The C++ variant has bool return types. This should be the same, here. Just add a cast in front of the whole expression.

rcseacord commented 3 years ago

Fixed by casting each expression to (_Bool)