* misc.c (GC_init): Avoid casting an lvalue. Fixes part of #498692.
svn path=/trunk/mono/; revision=132874
+2009-04-28 Zoltan Varga <vargaz@gmail.com>
+
+ * misc.c (GC_init): Avoid casting an lvalue. Fixes part of #498692.
+
2009-04-24 Kostyantyn Gushtin, Yevgen Kiruha, Serhiy Naumenko, Serhiy
Stetskovych and Ian Dichkovsky <mono@n-ix.com.ua>
BOOL (WINAPI *pfn) (LPCRITICAL_SECTION, DWORD) = NULL;
HMODULE hK32 = GetModuleHandle(_T("kernel32.dll"));
if (hK32)
- (FARPROC) pfn = GetProcAddress(hK32,
+ pfn = GetProcAddress(hK32,
"InitializeCriticalSectionAndSpinCount");
if (pfn)
pfn(&GC_allocate_ml, 4000);