Fixed compiler warnings.
This commit is contained in:
parent
ed0da3f66c
commit
7fb732e597
|
@ -503,7 +503,7 @@ StartServiceA( SC_HANDLE hService, DWORD dwNumServiceArgs,
|
|||
for(i=0; i<dwNumServiceArgs; i++)
|
||||
lpwstr[i]=HEAP_strdupAtoW(GetProcessHeap(), 0, lpServiceArgVectors[i]);
|
||||
|
||||
StartServiceW(hService, dwNumServiceArgs, lpwstr);
|
||||
StartServiceW(hService, dwNumServiceArgs, (LPCWSTR *)lpwstr);
|
||||
|
||||
if(dwNumServiceArgs)
|
||||
{
|
||||
|
@ -598,7 +598,7 @@ StartServiceW( SC_HANDLE hService, DWORD dwNumServiceArgs,
|
|||
return FALSE;
|
||||
|
||||
start_dwNumServiceArgs = dwNumServiceArgs;
|
||||
start_lpServiceArgVectors = lpServiceArgVectors;
|
||||
start_lpServiceArgVectors = (LPWSTR *)lpServiceArgVectors;
|
||||
|
||||
ZeroMemory(&startupinfo,sizeof(STARTUPINFOA));
|
||||
startupinfo.cb = sizeof(STARTUPINFOA);
|
||||
|
|
|
@ -127,7 +127,7 @@ static void DATETIME_Refresh (HWND hwnd, HDC hdc)
|
|||
SYSTEMTIME date = infoPtr->date;
|
||||
SIZE size;
|
||||
BOOL prssed=FALSE;
|
||||
COLORREF oldBk;
|
||||
COLORREF oldBk = 0;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -814,7 +814,7 @@ static void TAB_DrawItem(
|
|||
HPEN holdPen;
|
||||
INT oldBkMode;
|
||||
INT cx,cy;
|
||||
BOOL deleteBrush;
|
||||
BOOL deleteBrush = TRUE;
|
||||
|
||||
if (lStyle & TCS_BUTTONS)
|
||||
{
|
||||
|
|
|
@ -1259,7 +1259,6 @@ static HRESULT WINAPI DirectPlay3AImpl_InitializeConnection
|
|||
HMODULE hServiceProvider;
|
||||
typedef DWORD (WINAPI *SP_SPInit)(LPVOID lpCompoundAddress, ...); /* FIXME: How many arguments? */
|
||||
SP_SPInit SPInit;
|
||||
DWORD dwReturnValue = 0;
|
||||
|
||||
ICOM_THIS(IDirectPlay3Impl,iface);
|
||||
|
||||
|
|
|
@ -30,9 +30,9 @@ extern BOOL TTYDRV_DC_BITMAP_DeleteObject(HBITMAP hbitmap, BITMAPOBJ *bitmap);
|
|||
HGDIOBJ TTYDRV_DC_SelectObject(DC *dc, HGDIOBJ handle)
|
||||
{
|
||||
GDIOBJHDR *ptr = GDI_GetObjPtr(handle, MAGIC_DONTCARE);
|
||||
HGDIOBJ result = NULL;
|
||||
HGDIOBJ result = 0;
|
||||
|
||||
if(!ptr) return NULL;
|
||||
if(!ptr) return 0;
|
||||
|
||||
switch(ptr->wMagic)
|
||||
{
|
||||
|
|
|
@ -218,10 +218,12 @@ void PROCESS_CallUserSignalProc( UINT uCode, DWORD dwThreadId, HMODULE hModule )
|
|||
/* Call USER signal proc */
|
||||
|
||||
if ( Callout.UserSignalProc )
|
||||
{
|
||||
if ( uCode == USIG_THREAD_INIT || uCode == USIG_THREAD_EXIT )
|
||||
Callout.UserSignalProc( uCode, dwThreadId, dwFlags, hModule );
|
||||
else
|
||||
Callout.UserSignalProc( uCode, GetCurrentProcessId(), dwFlags, hModule );
|
||||
}
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in New Issue