OS/2 build break with GCC 3.3.5

This commit is contained in:
mkaply%us.ibm.com 2005-08-01 16:04:25 +00:00
parent b9b5e97b74
commit a5e7aad409

View File

@ -1153,7 +1153,7 @@ struct MessageWindow {
// Get current window and return its window handle.
nsCOMPtr<nsIDOMWindow> win;
(void)nsNativeAppSupportOS2::HandleRequest( (LPBYTE)cds->lpData, PR_FALSE, getter_AddRefs( win ) );
return win ? (long)hwndForDOMWindow( win ) : 0;
return win ? (MRESULT)hwndForDOMWindow( win ) : 0;
}
/* We have to return a FALSE from WM_CREATE or this window will never