Compiler warnings fixed.
This commit is contained in:
parent
7b5e33c6ac
commit
c69a80c31d
@ -17,6 +17,7 @@
|
|||||||
#include "commctrl.h"
|
#include "commctrl.h"
|
||||||
#include "tab.h"
|
#include "tab.h"
|
||||||
#include "debugtools.h"
|
#include "debugtools.h"
|
||||||
|
#include "cache.h"
|
||||||
|
|
||||||
DEFAULT_DEBUG_CHANNEL(tab)
|
DEFAULT_DEBUG_CHANNEL(tab)
|
||||||
|
|
||||||
|
@ -1270,7 +1270,7 @@ static HRESULT WINAPI IDirectPlayLobbyAImpl_RunApplication
|
|||||||
PROCESS_INFORMATION newProcessInfo;
|
PROCESS_INFORMATION newProcessInfo;
|
||||||
LPSTR appName;
|
LPSTR appName;
|
||||||
|
|
||||||
TRACE( "(%p)->(0x%08lx,%p,%p,%p)\n", This, dwFlags, lpdwAppID, lpConn, hReceiveEvent );
|
TRACE( "(%p)->(0x%08lx,%p,%p,%x)\n", This, dwFlags, lpdwAppID, lpConn, hReceiveEvent );
|
||||||
|
|
||||||
if( dwFlags != 0 )
|
if( dwFlags != 0 )
|
||||||
{
|
{
|
||||||
@ -1367,7 +1367,7 @@ static HRESULT WINAPI IDirectPlayLobbyWImpl_RunApplication
|
|||||||
HANDLE hReceiveEvent )
|
HANDLE hReceiveEvent )
|
||||||
{
|
{
|
||||||
ICOM_THIS(IDirectPlayLobbyWImpl,iface);
|
ICOM_THIS(IDirectPlayLobbyWImpl,iface);
|
||||||
FIXME( "(%p)->(0x%08lx,%p,%p,%p):stub\n", This, dwFlags, lpdwAppID, lpConn, hReceiveEvent );
|
FIXME( "(%p)->(0x%08lx,%p,%p,%p):stub\n", This, dwFlags, lpdwAppID, lpConn, (void *)hReceiveEvent );
|
||||||
return DPERR_OUTOFMEMORY;
|
return DPERR_OUTOFMEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1318,9 +1318,9 @@ static HRESULT WINAPI IShellView_fnContextSensitiveHelp(IShellView * iface,BOOL
|
|||||||
*/
|
*/
|
||||||
static HRESULT WINAPI IShellView_fnTranslateAccelerator(IShellView * iface,LPMSG lpmsg)
|
static HRESULT WINAPI IShellView_fnTranslateAccelerator(IShellView * iface,LPMSG lpmsg)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
ICOM_THIS(IShellViewImpl, iface);
|
ICOM_THIS(IShellViewImpl, iface);
|
||||||
|
|
||||||
#if 0
|
|
||||||
FIXME("(%p)->(%p: hwnd=%x msg=%x lp=%lx wp=%x) stub\n",This,lpmsg, lpmsg->hwnd, lpmsg->message, lpmsg->lParam, lpmsg->wParam);
|
FIXME("(%p)->(%p: hwnd=%x msg=%x lp=%lx wp=%x) stub\n",This,lpmsg, lpmsg->hwnd, lpmsg->message, lpmsg->lParam, lpmsg->wParam);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -302,7 +302,7 @@ BOOL PSDRV_EnumDeviceFonts( DC* dc, LPLOGFONT16 plf,
|
|||||||
if(family) {
|
if(family) {
|
||||||
for(afmle = family->afmlist; afmle; afmle = afmle->next) {
|
for(afmle = family->afmlist; afmle; afmle = afmle->next) {
|
||||||
TRACE("Got '%s'\n", afmle->afm->FontName);
|
TRACE("Got '%s'\n", afmle->afm->FontName);
|
||||||
if( (b = (*proc)( (LPENUMLOGFONT16)&lf, &tm,
|
if( (b = (*proc)( &lf, &tm,
|
||||||
PSDRV_GetFontMetric( dc, afmle->afm, &tm, &lf, 200 ),
|
PSDRV_GetFontMetric( dc, afmle->afm, &tm, &lf, 200 ),
|
||||||
lp )) )
|
lp )) )
|
||||||
bRet = b;
|
bRet = b;
|
||||||
@ -315,7 +315,7 @@ BOOL PSDRV_EnumDeviceFonts( DC* dc, LPLOGFONT16 plf,
|
|||||||
for(family = physDev->pi->Fonts; family; family = family->next) {
|
for(family = physDev->pi->Fonts; family; family = family->next) {
|
||||||
afmle = family->afmlist;
|
afmle = family->afmlist;
|
||||||
TRACE("Got '%s'\n", afmle->afm->FontName);
|
TRACE("Got '%s'\n", afmle->afm->FontName);
|
||||||
if( (b = (*proc)( (LPENUMLOGFONT16)&lf, &tm,
|
if( (b = (*proc)( &lf, &tm,
|
||||||
PSDRV_GetFontMetric( dc, afmle->afm, &tm, &lf, 200 ),
|
PSDRV_GetFontMetric( dc, afmle->afm, &tm, &lf, 200 ),
|
||||||
lp )) )
|
lp )) )
|
||||||
bRet = b;
|
bRet = b;
|
||||||
|
@ -320,7 +320,7 @@ HANDLE WINAPI OpenDesktopA( LPCSTR lpszDesktop, DWORD dwFlags,
|
|||||||
fInherit,dwDesiredAccess);
|
fInherit,dwDesiredAccess);
|
||||||
|
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
return NULL;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ static Window PrimarySelectionOwner = None; /* The window which owns the prim
|
|||||||
static Window ClipboardSelectionOwner = None; /* The window which owns the clipboard selection */
|
static Window ClipboardSelectionOwner = None; /* The window which owns the clipboard selection */
|
||||||
static unsigned long cSelectionTargets = 0; /* Number of target formats reported by TARGETS selection */
|
static unsigned long cSelectionTargets = 0; /* Number of target formats reported by TARGETS selection */
|
||||||
static Atom selectionCacheSrc = XA_PRIMARY; /* The selection source from which the clipboard cache was filled */
|
static Atom selectionCacheSrc = XA_PRIMARY; /* The selection source from which the clipboard cache was filled */
|
||||||
static HANDLE selectionClearEvent = NULL; /* Synchronization object used to block until server is started */
|
static HANDLE selectionClearEvent = 0;/* Synchronization object used to block until server is started */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Dynamic pointer arrays to manage destruction of Pixmap resources
|
* Dynamic pointer arrays to manage destruction of Pixmap resources
|
||||||
@ -309,7 +309,7 @@ BOOL X11DRV_CLIPBOARD_LaunchServer()
|
|||||||
|
|
||||||
/* Release the event */
|
/* Release the event */
|
||||||
CloseHandle(selectionClearEvent);
|
CloseHandle(selectionClearEvent);
|
||||||
selectionClearEvent = NULL;
|
selectionClearEvent = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
WIN_RestoreWndsLock(iWndsLocks);
|
WIN_RestoreWndsLock(iWndsLocks);
|
||||||
@ -327,7 +327,7 @@ BOOL X11DRV_CLIPBOARD_LaunchServer()
|
|||||||
*/
|
*/
|
||||||
int X11DRV_CLIPBOARD_CacheDataFormats( Atom SelectionName )
|
int X11DRV_CLIPBOARD_CacheDataFormats( Atom SelectionName )
|
||||||
{
|
{
|
||||||
HWND hWnd = NULL;
|
HWND hWnd = 0;
|
||||||
HWND hWndClipWindow = GetOpenClipboardWindow();
|
HWND hWndClipWindow = GetOpenClipboardWindow();
|
||||||
WND* wnd = NULL;
|
WND* wnd = NULL;
|
||||||
XEvent xe;
|
XEvent xe;
|
||||||
@ -337,7 +337,7 @@ int X11DRV_CLIPBOARD_CacheDataFormats( Atom SelectionName )
|
|||||||
unsigned long remain;
|
unsigned long remain;
|
||||||
Atom* targetList=NULL;
|
Atom* targetList=NULL;
|
||||||
Window w;
|
Window w;
|
||||||
Window ownerSelection = NULL;
|
Window ownerSelection = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Empty the clipboard cache
|
* Empty the clipboard cache
|
||||||
@ -577,7 +577,7 @@ static BOOL X11DRV_CLIPBOARD_ReadSelection(UINT wFormat, Window w, Atom prop, At
|
|||||||
{
|
{
|
||||||
/* Get the first pixmap handle passed to us */
|
/* Get the first pixmap handle passed to us */
|
||||||
Pixmap *pPixmap = (Pixmap *)val;
|
Pixmap *pPixmap = (Pixmap *)val;
|
||||||
HANDLE hTargetImage = NULL; /* Handle to store the converted bitmap or DIB */
|
HANDLE hTargetImage = 0; /* Handle to store the converted bitmap or DIB */
|
||||||
|
|
||||||
if (aformat != 32 || nitems < 1 || atype != XA_PIXMAP
|
if (aformat != 32 || nitems < 1 || atype != XA_PIXMAP
|
||||||
|| (wFormat != CF_BITMAP && wFormat != CF_DIB))
|
|| (wFormat != CF_BITMAP && wFormat != CF_DIB))
|
||||||
@ -1193,7 +1193,7 @@ END:
|
|||||||
|
|
||||||
TRACE("\tLost the selection! Emptying the clipboard...\n");
|
TRACE("\tLost the selection! Emptying the clipboard...\n");
|
||||||
|
|
||||||
OpenClipboard(NULL);
|
OpenClipboard( 0 );
|
||||||
selectionAcquired = (S_PRIMARY | S_CLIPBOARD);
|
selectionAcquired = (S_PRIMARY | S_CLIPBOARD);
|
||||||
EmptyClipboard();
|
EmptyClipboard();
|
||||||
|
|
||||||
@ -1239,7 +1239,7 @@ void X11DRV_CLIPBOARD_FreeResources( Atom property )
|
|||||||
*/
|
*/
|
||||||
int i;
|
int i;
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Atom cacheProp = NULL;
|
Atom cacheProp = 0;
|
||||||
for( i = 0; ; i++ )
|
for( i = 0; ; i++ )
|
||||||
{
|
{
|
||||||
if ( !(cacheProp = ((Atom)DPA_GetPtr(PropDPA, i))) )
|
if ( !(cacheProp = ((Atom)DPA_GetPtr(PropDPA, i))) )
|
||||||
|
@ -108,6 +108,7 @@ static void EVENT_UnmapNotify( HWND pWnd, XUnmapEvent *event );
|
|||||||
#ifdef HAVE_LIBXXSHM
|
#ifdef HAVE_LIBXXSHM
|
||||||
static void EVENT_ShmCompletion( XShmCompletionEvent *event );
|
static void EVENT_ShmCompletion( XShmCompletionEvent *event );
|
||||||
static int ShmCompletionType;
|
static int ShmCompletionType;
|
||||||
|
extern int XShmGetEventBase( Display * );/* Missing prototype for function in libXext. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Usable only with OLVWM - compile option perhaps?
|
/* Usable only with OLVWM - compile option perhaps?
|
||||||
@ -1026,7 +1027,7 @@ END:
|
|||||||
static Atom EVENT_SelectionRequest_PIXMAP( Window requestor, Atom target, Atom rprop )
|
static Atom EVENT_SelectionRequest_PIXMAP( Window requestor, Atom target, Atom rprop )
|
||||||
{
|
{
|
||||||
HANDLE hClipData = 0;
|
HANDLE hClipData = 0;
|
||||||
Pixmap pixmap = NULL;
|
Pixmap pixmap = 0;
|
||||||
UINT wFormat;
|
UINT wFormat;
|
||||||
char * itemFmtName;
|
char * itemFmtName;
|
||||||
int xRc;
|
int xRc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user