diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index cc8749913..fb582ab0c 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2006-01-13 Corinna Vinschen + + * cygcheck.cc (dump_sysinfo): Convert k32 to HMODULE. + 2006-01-13 Corinna Vinschen * cygcheck.cc (dump_sysinfo): Convert osname to const and remove casts diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc index ad0946e02..58c1a66a0 100644 --- a/winsup/utils/cygcheck.cc +++ b/winsup/utils/cygcheck.cc @@ -1137,7 +1137,7 @@ dump_sysinfo () osversion.dwPlatformId == VER_PLATFORM_WIN32_NT ? osversion.szCSDVersion : ""); - HINSTANCE k32 = LoadLibrary ("kernel32.dll"); + HMODULE k32 = LoadLibrary ("kernel32.dll"); BOOL (WINAPI *wow64_func) (HANDLE, PBOOL) = (BOOL (WINAPI *) (HANDLE, PBOOL)) GetProcAddress (k32, "IsWow64Process");