Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-cross-nsis-plugin-nsprocess
explicit_casts.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File explicit_casts.diff of Package mingw32-cross-nsis-plugin-nsprocess
diff --git a/Source/nsProcess.c b/Source/nsProcess.c index 9afa257..e4f53ba 100644 --- a/Source/nsProcess.c +++ b/Source/nsProcess.c @@ -143,7 +143,7 @@ BOOL CALLBACK EnumWindowsProc( HWND hwnd, LPARAM lParam ) { - HANDLE *data = lParam; + HANDLE *data = (HANDLE*) lParam; DWORD pid; GetWindowThreadProcessId(hwnd, &pid); if (pid == data[0]) @@ -162,7 +162,7 @@ void NiceTerminate(DWORD id, BOOL bClose, BOOL *bSuccess, BOOL *bFailed) BOOL bDone = FALSE; if (hProc=OpenProcess(PROCESS_TERMINATE | PROCESS_QUERY_INFORMATION | SYNCHRONIZE, FALSE, id)) { - data[0] = id; + data[0] = (HANDLE*) id; data[1] = NULL; if (bClose)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor