}
}
+extern "C"
#ifdef FEATURE_PAL
DLLEXPORT // For Win32 PAL LoadLibrary emulation
#endif
- extern "C" BOOL
+ BOOL
DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
switch (ul_reason_for_call)
}
}
+extern "C"
#ifdef FEATURE_PAL
DLLEXPORT // For Win32 PAL LoadLibrary emulation
#endif
- extern "C" BOOL
+ BOOL
DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
switch (ul_reason_for_call)
}
}
+extern "C"
#ifdef FEATURE_PAL
DLLEXPORT // For Win32 PAL LoadLibrary emulation
#endif
- extern "C" BOOL
+ BOOL
DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
switch (ul_reason_for_call)
}
else if ((entriesInArrayTotal >= 2) && (pStartOfValuesData[entriesInArrayTotal - 2] == (TValue)0))
{
- usedEntries = (DWORD)pStartOfValuesData[entriesInArrayTotal - 1];
+ usedEntries = (DWORD)(SIZE_T)pStartOfValuesData[entriesInArrayTotal - 1];
}
else if (pStartOfValuesData[entriesInArrayTotal - 1] == (TValue)0)
{
MethodDesc *NativeImageInliningIterator::GetMethodDesc()
{
- if (m_currentPos == -1 || m_currentPos >= m_dynamicBufferSize)
+ if (m_currentPos == (COUNT_T)-1 || m_currentPos >= m_dynamicBufferSize)
{
return NULL;
}
static bool IsNull(const element_t &e) { return (e == NULL); }
};
- static HRESULT ReJitManager::UpdateActiveILVersion(
+ static HRESULT UpdateActiveILVersion(
SHash<CodeActivationBatchTraits> *pMgrToCodeActivationBatch,
Module * pModule,
mdMethodDef methodDef,