diff options
| author | Jardel Weyrich | 2012-04-27 14:42:40 -0300 |
|---|---|---|
| committer | Jardel Weyrich | 2012-04-27 14:42:40 -0300 |
| commit | 11dca663365d64343dadcafb1c93aed4e01524b4 (patch) | |
| tree | 127c9da1f6e23d866cd56627ac56868ad0cc5346 /include | |
| parent | 7ec6d27000cac5cf6fa1cc6a1560668485234bb9 (diff) | |
| download | catch3-11dca663365d64343dadcafb1c93aed4e01524b4.tar.gz | |
Fix missing parameter for comparisons between long and unsigned X.
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_evaluate.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/internal/catch_evaluate.hpp b/include/internal/catch_evaluate.hpp index e4f2fe5e..90acad26 100644 --- a/include/internal/catch_evaluate.hpp +++ b/include/internal/catch_evaluate.hpp @@ -160,15 +160,15 @@ namespace Internal // long to unsigned X template<Operator Op> bool compare( long lhs, unsigned int rhs ) { - return applyEvaluator<Op>( static_cast<unsigned long>( lhs ) ); + return applyEvaluator<Op>( static_cast<unsigned long>( lhs ), rhs ); } template<Operator Op> bool compare( long lhs, unsigned long rhs ) { - return applyEvaluator<Op>( static_cast<unsigned long>( lhs ) ); + return applyEvaluator<Op>( static_cast<unsigned long>( lhs ), rhs ); } template<Operator Op> bool compare( long lhs, unsigned char rhs ) { - return applyEvaluator<Op>( static_cast<unsigned long>( lhs ) ); + return applyEvaluator<Op>( static_cast<unsigned long>( lhs ), rhs ); } template<Operator Op, typename T> |