diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2015-04-30 07:43:29 -0700 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2015-04-30 10:29:57 -0700 |
commit | 3cda3e8276af6702fc3c4ed3f798c2cf94b7ab8d (patch) | |
tree | 1e452bedf7d10d62a2671b91e0f20974a07dcac8 /src/vm | |
parent | f37c4d4ac3b506fb90ed950e1d1eadf637bac858 (diff) | |
download | coreclr-3cda3e8276af6702fc3c4ed3f798c2cf94b7ab8d.tar.gz coreclr-3cda3e8276af6702fc3c4ed3f798c2cf94b7ab8d.tar.bz2 coreclr-3cda3e8276af6702fc3c4ed3f798c2cf94b7ab8d.zip |
Fix new set of warnings
This change fixes a new bunch of warnings that were recently introduced
unnoticed to the coreclr / pal. Also, I've discovered that in release build,
there are some additional warnings, so I've fixed them as well.
I have also added a compiler switch to treat warnings as errors so that
we catch a new issue right away next time.
Diffstat (limited to 'src/vm')
-rw-r--r-- | src/vm/corhost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/corhost.cpp b/src/vm/corhost.cpp index c887ceacde..a0343e4267 100644 --- a/src/vm/corhost.cpp +++ b/src/vm/corhost.cpp @@ -7294,7 +7294,7 @@ extern "C" IExecutionEngine * __stdcall IEE() // Create a local copy on the stack and then copy it over to the static instance. // This avoids race conditions caused by multiple initializations of vtable in the constructor CExecutionEngine local; - memcpy(&g_CEEInstance, &local, sizeof(CExecutionEngine)); + memcpy(&g_CEEInstance, (void*)&local, sizeof(CExecutionEngine)); g_pCEE = (IExecutionEngine*)(CExecutionEngine*)&g_CEEInstance; } |