Skip to content

Commit

Permalink
fix UB 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Mi-La committed Sep 12, 2024
1 parent caead9c commit 1d23e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/test/zserio/TypesTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void testIntOperators(typename T::value_type minValue = NumericLimits<T>::min())
Int64 value = +valueMin;
value = -valueMin;
value = valueMin + valueMax;
value = valueMax - valueMin;
value = valueMax - value0;
value = value0 * valueMax;
if (valueMax != 0) // == 0 for Int1
{
Expand Down

0 comments on commit 1d23e64

Please sign in to comment.