Fixed a number of warnings concerning the matching of the printf
format string and the associated parameters (actually it's mostly TRACE and FIXMEs).
This commit is contained in:
parent
72f12e7285
commit
289211cc3b
|
@ -697,7 +697,7 @@ void SCROLL_HandleScrollEvent( HWND32 hwnd, INT32 nBar, UINT32 msg, POINT32 pt)
|
||||||
return; /* Should never happen */
|
return; /* Should never happen */
|
||||||
}
|
}
|
||||||
|
|
||||||
TRACE(scroll, "Event: hwnd=%04x bar=%d msg=%x pt=%d,%d hit=%d\n",
|
TRACE(scroll, "Event: hwnd=%04x bar=%d msg=%x pt=%ld,%ld hit=%d\n",
|
||||||
hwnd, nBar, msg, pt.x, pt.y, hittest );
|
hwnd, nBar, msg, pt.x, pt.y, hittest );
|
||||||
|
|
||||||
switch(SCROLL_trackHitTest)
|
switch(SCROLL_trackHitTest)
|
||||||
|
|
|
@ -24,7 +24,7 @@ BOOL32 WINAPI
|
||||||
CryptAcquireContextA( HCRYPTPROV *phProv, LPCSTR pszContainer,
|
CryptAcquireContextA( HCRYPTPROV *phProv, LPCSTR pszContainer,
|
||||||
LPCSTR pszProvider, DWORD dwProvType, DWORD dwFlags)
|
LPCSTR pszProvider, DWORD dwProvType, DWORD dwFlags)
|
||||||
{
|
{
|
||||||
FIXME(advapi,"(%08lx, %s, %s, %d, %08lx): stub!\n", phProv, pszContainer,
|
FIXME(advapi,"(%p, %s, %s, %ld, %08lx): stub!\n", phProv, pszContainer,
|
||||||
pszProvider, dwProvType, dwFlags);
|
pszProvider, dwProvType, dwFlags);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -399,7 +399,7 @@ NTSTATUS WINAPI NtAdjustPrivilegesToken(
|
||||||
OUT PTOKEN_PRIVILEGES PreviousState,
|
OUT PTOKEN_PRIVILEGES PreviousState,
|
||||||
OUT PDWORD ReturnLength)
|
OUT PDWORD ReturnLength)
|
||||||
{
|
{
|
||||||
FIXME(ntdll,"(0x%08x,0x%08lx,%p,0x%08lx,%p,%p),stub!\n",
|
FIXME(ntdll,"(0x%08x,0x%08x,%p,0x%08lx,%p,%p),stub!\n",
|
||||||
TokenHandle, DisableAllPrivileges, NewState, BufferLength, PreviousState, ReturnLength);
|
TokenHandle, DisableAllPrivileges, NewState, BufferLength, PreviousState, ReturnLength);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1373,8 +1373,8 @@ X11DRV_PolyBezier(DC *dc, POINT32 start, const POINT32* BezierPoints, DWORD coun
|
||||||
XPoint* xpoints;
|
XPoint* xpoints;
|
||||||
X11DRV_PDEVICE *physDev = (X11DRV_PDEVICE *)dc->physDev;
|
X11DRV_PDEVICE *physDev = (X11DRV_PDEVICE *)dc->physDev;
|
||||||
|
|
||||||
TRACE(graphics, "dc=%04x count=%ld %d,%d - %d,%d - %d,%d -%d,%d \n",
|
TRACE(graphics, "dc=%p count=%ld %ld,%ld - %ld,%ld - %ld,%ld - %ld,%ld\n",
|
||||||
(int)dc, count,
|
dc, count,
|
||||||
start.x, start.y,
|
start.x, start.y,
|
||||||
(Points+0)->x, (Points+0)->y,
|
(Points+0)->x, (Points+0)->y,
|
||||||
(Points+1)->x, (Points+1)->y,
|
(Points+1)->x, (Points+1)->y,
|
||||||
|
|
|
@ -31,7 +31,7 @@ static BOOL32 SYNC_BuildWaitStruct( DWORD count, const HANDLE32 *handles,
|
||||||
wait->wait_all = wait_all;
|
wait->wait_all = wait_all;
|
||||||
for (i = 0, ptr = wait->objs; i < count; i++, ptr++)
|
for (i = 0, ptr = wait->objs; i < count; i++, ptr++)
|
||||||
{
|
{
|
||||||
TRACE(win32,"handle %i is %08x\n",i,handles[i]);
|
TRACE(win32,"handle %ld is %08x\n",i,handles[i]);
|
||||||
if (!(*ptr = HANDLE_GetObjPtr( PROCESS_Current(), handles[i],
|
if (!(*ptr = HANDLE_GetObjPtr( PROCESS_Current(), handles[i],
|
||||||
K32OBJ_UNKNOWN, SYNCHRONIZE,
|
K32OBJ_UNKNOWN, SYNCHRONIZE,
|
||||||
&wait->server[i] )))
|
&wait->server[i] )))
|
||||||
|
|
Loading…
Reference in New Issue