forked from osmocom/wireshark
Fix a Windows compiler warning;
Minor whitespace cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35563 f5534014-38df-0310-8fa8-9805f1628bb7
This commit is contained in:
parent
f1a7b438b8
commit
a13bc52415
|
@ -236,7 +236,7 @@ get_runtime_version_info(GString *str, void (*additional_info)(GString *))
|
|||
memset(&system_info, '\0', sizeof system_info);
|
||||
/* Look for and use the GetNativeSystemInfo() function if available to get the correct processor
|
||||
* architecture even when running 32-bit Wireshark in WOW64 (x86 emulation on 64-bit Windows) */
|
||||
nativesi_func = GetProcAddress(GetModuleHandle(_T("kernel32.dll")), "GetNativeSystemInfo");
|
||||
nativesi_func = (nativesi_func_ptr)GetProcAddress(GetModuleHandle(_T("kernel32.dll")), "GetNativeSystemInfo");
|
||||
if(nativesi_func)
|
||||
nativesi_func(&system_info);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue