Eric Pouech : spoolsv: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Mon Feb 7 15:56:04 CST 2022


Module: wine
Branch: master
Commit: bd298b4a02a5d8694aad3687db8993a50f2ae0e1
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bd298b4a02a5d8694aad3687db8993a50f2ae0e1

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Mon Feb  7 08:39:49 2022 +0100

spoolsv: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/spoolsv/Makefile.in | 1 -
 programs/spoolsv/main.c      | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/programs/spoolsv/Makefile.in b/programs/spoolsv/Makefile.in
index 04c8a5cbeee..5046a9c0861 100644
--- a/programs/spoolsv/Makefile.in
+++ b/programs/spoolsv/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = spoolsv.exe
 IMPORTS   = advapi32
 
diff --git a/programs/spoolsv/main.c b/programs/spoolsv/main.c
index 2893fa614a1..3640ccee754 100644
--- a/programs/spoolsv/main.c
+++ b/programs/spoolsv/main.c
@@ -52,7 +52,7 @@ static DWORD WINAPI service_handler( DWORD ctrl, DWORD event_type, LPVOID event_
         SetEvent( stop_event );
         return NO_ERROR;
     default:
-        WINE_FIXME( "got service ctrl %x\n", ctrl );
+        WINE_FIXME( "got service ctrl %lx\n", ctrl );
         status.dwCurrentState = SERVICE_RUNNING;
         SetServiceStatus( service_handle, &status );
         return NO_ERROR;




More information about the wine-cvs mailing list