diff options
Diffstat (limited to 'tests/compute/scope-operator.slang')
| -rw-r--r-- | tests/compute/scope-operator.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compute/scope-operator.slang b/tests/compute/scope-operator.slang index 9b5b3f229..0622adc4a 100644 --- a/tests/compute/scope-operator.slang +++ b/tests/compute/scope-operator.slang @@ -38,7 +38,7 @@ int test(int val) if(c == Color::Red) { - if(val & 1) + if((val & 1) != 0) { c = Color::Blue; } |
