mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 22:13:40 +00:00
wintab32: Win64 printf format warning fixes.
This commit is contained in:
parent
51ca8e8ef8
commit
d3e324f878
|
@ -5,7 +5,6 @@ VPATH = @srcdir@
|
|||
MODULE = wintab32.dll
|
||||
IMPORTLIB = libwintab32.$(IMPLIBEXT)
|
||||
IMPORTS = user32 kernel32
|
||||
EXTRADEFS = -DWINE_NO_LONG_AS_INT
|
||||
|
||||
C_SRCS = \
|
||||
context.c \
|
||||
|
|
|
@ -68,7 +68,7 @@ static char* DUMPBITS(int x, char* buf)
|
|||
|
||||
static inline void DUMPPACKET(WTPACKET packet)
|
||||
{
|
||||
TRACE("pkContext: %p pkStatus: 0x%x pkTime : 0x%x pkChanged: 0x%x pkSerialNumber: 0x%x pkCursor : %i pkButtons: %x pkX: %li pkY: %li pkZ: %li pkNormalPressure: %i pkTangentPressure: %i pkOrientation: (%i,%i,%i) pkRotation: (%i,%i,%i)\n",
|
||||
TRACE("pkContext: %p pkStatus: 0x%x pkTime : 0x%x pkChanged: 0x%x pkSerialNumber: 0x%x pkCursor : %i pkButtons: %x pkX: %i pkY: %i pkZ: %i pkNormalPressure: %i pkTangentPressure: %i pkOrientation: (%i,%i,%i) pkRotation: (%i,%i,%i)\n",
|
||||
packet.pkContext,
|
||||
(UINT)packet.pkStatus,
|
||||
(UINT)packet.pkTime,
|
||||
|
@ -94,7 +94,7 @@ static inline void DUMPCONTEXT(LOGCONTEXTA lc)
|
|||
CHAR bits1[100];
|
||||
CHAR bits2[100];
|
||||
|
||||
sprintf(mmsg,"%s, %x, %x, %x, %x, %x, %x, %x%s, %x%s, %x%s, %x, %x, %i, %i, %i, %li ,%li, %li, %li, %li, %li,%li, %li, %li, %li, %li, %li, %i, %i, %i, %i, %i %li %li",
|
||||
sprintf(mmsg,"%s, %x, %x, %x, %x, %x, %x, %x%s, %x%s, %x%s, %x, %x, %i, %i, %i, %i ,%i, %i, %i, %i, %i,%i, %i, %i, %i, %i, %i, %i, %i, %i, %i, %i %i %i",
|
||||
debugstr_a(lc.lcName), lc.lcOptions, lc.lcStatus, lc.lcLocks, lc.lcMsgBase,
|
||||
lc.lcDevice, lc.lcPktRate, (UINT)lc.lcPktData, DUMPBITS(lc.lcPktData,bits),
|
||||
(UINT)lc.lcPktMode, DUMPBITS(lc.lcPktMode,bits1), (UINT)lc.lcMoveMask,
|
||||
|
|
|
@ -245,7 +245,7 @@ BOOL WINAPI WTMgrCsrButtonMap(HMGR hMgr, UINT wCursor,
|
|||
BOOL WINAPI WTMgrCsrPressureBtnMarks(HMGR hMgr, UINT wCsr,
|
||||
DWORD dwNMarks, DWORD dwTMarks)
|
||||
{
|
||||
FIXME("(%p, %u, %lu, %lu): stub\n", hMgr, wCsr, dwNMarks, dwTMarks);
|
||||
FIXME("(%p, %u, %u, %u): stub\n", hMgr, wCsr, dwNMarks, dwTMarks);
|
||||
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
|
||||
|
|
|
@ -502,7 +502,7 @@ BOOL16 WINAPI WTMgrCsrButtonMap16(HMGR16 hMgr, UINT16 wCursor,
|
|||
BOOL16 WINAPI WTMgrCsrPressureBtnMarks16(HMGR16 hMgr, UINT16 wCsr,
|
||||
DWORD dwNMarks, DWORD dwTMarks)
|
||||
{
|
||||
FIXME("(0x%04hx, %hu, %lu, %lu): stub\n", hMgr, wCsr, dwNMarks, dwTMarks);
|
||||
FIXME("(0x%04hx, %hu, %u, %u): stub\n", hMgr, wCsr, dwNMarks, dwTMarks);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved)
|
|||
static const WCHAR name[] = {'T','a','b','l','e','t',0};
|
||||
HMODULE hx11drv;
|
||||
|
||||
TRACE("%p, %lx, %p\n",hInstDLL,fdwReason,lpReserved);
|
||||
TRACE("%p, %x, %p\n",hInstDLL,fdwReason,lpReserved);
|
||||
switch (fdwReason)
|
||||
{
|
||||
case DLL_PROCESS_ATTACH:
|
||||
|
|
Loading…
Reference in a new issue