Fix remaining compiler warnings (MSVC). Move disabling of specific warnings from /nowarn to project file.

This commit is contained in:
practicalswift
2018-09-05 15:08:58 +02:00
parent 9c71998771
commit b9dafe7d9f
5 changed files with 10 additions and 7 deletions

View File

@@ -144,7 +144,7 @@ public:
*lockingSuccess = true;
}
return reinterpret_cast<void*>(0x08000000 + (count<<24)); // Fake address, do not actually use this memory
return reinterpret_cast<void*>(uint64_t{static_cast<uint64_t>(0x08000000) + (count << 24)}); // Fake address, do not actually use this memory
}
return 0;
}