Fix desktop build break introduced by CS#1600134
authorBruce Forstall <brucefo@microsoft.com>
Sat, 30 Apr 2016 01:02:50 +0000 (18:02 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Sat, 30 Apr 2016 01:02:50 +0000 (18:02 -0700)
[tfs-changeset: 1600494]

src/vm/codeman.cpp

index 44661c3..2fa83f7 100644 (file)
@@ -4316,7 +4316,7 @@ LPCWSTR ExecutionManager::GetJitName()
 
 #if !defined(FEATURE_CORECLR)
     // Try to obtain a name for the jit library from the env. variable
-    IfFailThrow(CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_JitName, const_cast<LPWSTR *>(pwzJitName)));
+    IfFailThrow(CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_JitName, const_cast<LPWSTR *>(&pwzJitName)));
 #endif // !FEATURE_CORECLR
     
     if (NULL == pwzJitName)