oleaut32/tests: Fix printf format warning.

Michael Stefaniuc mstefani at redhat.de
Wed Sep 24 12:34:32 CDT 2008


---
 dlls/oleaut32/tests/olefont.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/oleaut32/tests/olefont.c b/dlls/oleaut32/tests/olefont.c
index 6774368..6b98768 100644
--- a/dlls/oleaut32/tests/olefont.c
+++ b/dlls/oleaut32/tests/olefont.c
@@ -140,7 +140,7 @@ static void test_QueryInterface(void)
         ret = IFont_AddRef(font);
         ok(ret == 3 ||
            broken(ret == 1), /* win95 */
-           "IFont_QI expected ref value 3 but instead got %ld\n",ret);
+           "IFont_QI expected ref value 3 but instead got %d\n",ret);
         IFont_Release(font);
 
         ok(hres == S_OK,"IFont_QI does not return S_OK, but 0x%08x\n", hres);
-- 
1.6.0.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080924/1e3834d3/attachment.pgp 


More information about the wine-patches mailing list