diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-12-12 03:43:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-12 03:43:12 +0100 |
| commit | 2c6bf2d224f5f3732d53244de53be266bbec2ac3 (patch) | |
| tree | 8646b0376662f7c9e0676adf63f29c2102ead4db /Source/UnitTests/Common/FloatUtilsTest.cpp | |
| parent | 9326186d2c7c1bab72b1a681d76be2f4c0a7ecdb (diff) | |
| parent | 0e51c0f8fc28052f819f5d940ef6d23150c22057 (diff) | |
Merge pull request #12394 from lioncash/compare
General: Resolve -Wsign-compare warnings
Diffstat (limited to 'Source/UnitTests/Common/FloatUtilsTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/FloatUtilsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/UnitTests/Common/FloatUtilsTest.cpp b/Source/UnitTests/Common/FloatUtilsTest.cpp index e0172c5643..61b7f80974 100644 --- a/Source/UnitTests/Common/FloatUtilsTest.cpp +++ b/Source/UnitTests/Common/FloatUtilsTest.cpp @@ -85,7 +85,7 @@ TEST(FloatUtils, ApproximateReciprocalSquareRoot) 0x7FF8'0000'0000'0000, 0x7FF8'0000'0000'0000, 0x3FEA'2040'0000'0000, 0x3FA0'3108'0000'0000, 0x7FF8'0000'0000'0000}; - for (int i = 0; i < double_test_values.size(); ++i) + for (size_t i = 0; i < double_test_values.size(); ++i) { u64 ivalue = double_test_values[i]; double dvalue = Common::BitCast<double>(ivalue); |
