From b9dafe7d9ffcbe7928ffbfba816b54e196c57664 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Wed, 5 Sep 2018 15:08:58 +0200 Subject: Fix remaining compiler warnings (MSVC). Move disabling of specific warnings from /nowarn to project file. --- src/test/allocator_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/allocator_tests.cpp') diff --git a/src/test/allocator_tests.cpp b/src/test/allocator_tests.cpp index 5a108dcda..582082f6a 100644 --- a/src/test/allocator_tests.cpp +++ b/src/test/allocator_tests.cpp @@ -144,7 +144,7 @@ public: *lockingSuccess = true; } - return reinterpret_cast(0x08000000 + (count<<24)); // Fake address, do not actually use this memory + return reinterpret_cast(uint64_t{static_cast(0x08000000) + (count << 24)}); // Fake address, do not actually use this memory } return 0; } -- cgit v1.2.3