From f3cfb89b89e601de9d39f9072d850f587dfd9310 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Thu, 5 Oct 2006 00:58:37 +0200 Subject: [PATCH] usp10: Win64 printf format warning fixes. --- dlls/usp10/Makefile.in | 1 - dlls/usp10/usp10.c | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/dlls/usp10/Makefile.in b/dlls/usp10/Makefile.in index 9394beba7c..9d716d536a 100644 --- a/dlls/usp10/Makefile.in +++ b/dlls/usp10/Makefile.in @@ -5,7 +5,6 @@ VPATH = @srcdir@ MODULE = usp10.dll IMPORTLIB = libusp10.$(IMPLIBEXT) IMPORTS = gdi32 kernel32 -EXTRADEFS = -DWINE_NO_LONG_AS_INT C_SRCS = \ usp10.c diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c index 7fca5473cb..3a226e322e 100644 --- a/dlls/usp10/usp10.c +++ b/dlls/usp10/usp10.c @@ -187,7 +187,7 @@ HRESULT WINAPI ScriptRecordDigitSubstitution(LCID locale, SCRIPT_DIGITSUBSTITUTE { DWORD plgid, sub; - TRACE("0x%lx, %p\n", locale, sds); + TRACE("0x%x, %p\n", locale, sds); /* This implementation appears to be correct for all languages, but it's * not clear if sds->DigitSubstitute is ever set to anything except @@ -447,7 +447,7 @@ HRESULT WINAPI ScriptStringAnalyse(HDC hdc, const BYTE *pbInClass, SCRIPT_STRING_ANALYSIS *pssa) { - FIXME("(%p,%p,%d,%d,%d,0x%lx,%d,%p,%p,%p,%p,%p,%p): stub\n", + FIXME("(%p,%p,%d,%d,%d,0x%x,%d,%p,%p,%p,%p,%p,%p): stub\n", hdc, pString, cString, cGlyphs, iCharset, dwFlags, iReqWidth, psControl, psState, piDx, pTabdef, pbInClass, pssa); if (1 > cString || NULL == pString) { @@ -784,7 +784,7 @@ HRESULT WINAPI ScriptIsComplex(const WCHAR *chars, int len, DWORD flag) { unsigned int i, j; - TRACE("(%s,%d,0x%lx)\n", debugstr_wn(chars, len), len, flag); + TRACE("(%s,%d,0x%x)\n", debugstr_wn(chars, len), len, flag); for (i = 0; i < len; i++) { @@ -958,7 +958,7 @@ HRESULT WINAPI ScriptGetCMap(HDC hdc, SCRIPT_CACHE *psc, const WCHAR *pwcInChars int cnt; DWORD hr; Scriptcache *pScriptcache; - FIXME("(%p,%p,%s,%d,0x%lx,%p): semi-stub\n", hdc, psc, debugstr_wn(pwcInChars,cChars), + FIXME("(%p,%p,%s,%d,0x%x,%p): semi-stub\n", hdc, psc, debugstr_wn(pwcInChars,cChars), cChars, dwFlags, pwOutGlyphs); if (!psc) @@ -1031,7 +1031,7 @@ HRESULT WINAPI ScriptTextOut(const HDC hdc, SCRIPT_CACHE *psc, int x, int y, UIN if (hr) return S_OK; else { - FIXME("ExtTextOut returned:=%ld\n", hr); + FIXME("ExtTextOut returned:=%d\n", hr); return hr; } } -- 2.32.0.93.g670b81a890