Skip to content

Commit eb2140e

Browse files
committed
fix warning
1 parent cabc394 commit eb2140e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/test-entities/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct Value
2828
uint32 sum = 0;
2929
for (uint32 i : data)
3030
sum += i;
31-
globalVolatile += sum;
31+
globalVolatile = globalVolatile + sum;
3232
}
3333
};
3434

0 commit comments

Comments
 (0)