From 52f86323006c68c422c96a93fb79335b512fde08 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 3 Oct 2006 23:40:54 +0200 Subject: [PATCH] spoolss: Win64 printf format warning fixes. --- dlls/spoolss/Makefile.in | 1 - dlls/spoolss/spoolss_main.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/spoolss/Makefile.in b/dlls/spoolss/Makefile.in index b31dbaef42b..e344f9cb162 100644 --- a/dlls/spoolss/Makefile.in +++ b/dlls/spoolss/Makefile.in @@ -4,7 +4,6 @@ SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = spoolss.dll IMPORTS = kernel32 -EXTRADEFS = -DWINE_NO_LONG_AS_INT C_SRCS = \ spoolss_main.c diff --git a/dlls/spoolss/spoolss_main.c b/dlls/spoolss/spoolss_main.c index 5b2a4d3dc0b..d39cac3362e 100644 --- a/dlls/spoolss/spoolss_main.c +++ b/dlls/spoolss/spoolss_main.c @@ -33,7 +33,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(spoolss); */ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { - TRACE("(%p, %ld, %p)\n", hinstDLL, fdwReason, lpvReserved); + TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); switch (fdwReason) { case DLL_WINE_PREATTACH: @@ -67,7 +67,7 @@ LPVOID WINAPI DllAllocSplMem(DWORD size) LPVOID res; res = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); - TRACE("(%ld) => %p\n", size, res); + TRACE("(%d) => %p\n", size, res); return res; }