From db73856ecac3be3645e891e990b8a498891225b7 Mon Sep 17 00:00:00 2001
From: Eric Pouech <eric.pouech@gmail.com>
Date: Fri, 11 Feb 2022 08:39:59 +0100
Subject: [PATCH] ifsmgr.vxd: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
---
 dlls/ifsmgr.vxd/Makefile.in | 1 -
 dlls/ifsmgr.vxd/ifsmgr.c    | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/ifsmgr.vxd/Makefile.in b/dlls/ifsmgr.vxd/Makefile.in
index 302778577e2..65c6be21036 100644
--- a/dlls/ifsmgr.vxd/Makefile.in
+++ b/dlls/ifsmgr.vxd/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = ifsmgr.vxd
 IMPORTS   = kernel
 
diff --git a/dlls/ifsmgr.vxd/ifsmgr.c b/dlls/ifsmgr.vxd/ifsmgr.c
index ab232ec6c23..22800b95c05 100644
--- a/dlls/ifsmgr.vxd/ifsmgr.c
+++ b/dlls/ifsmgr.vxd/ifsmgr.c
@@ -107,7 +107,7 @@ BOOL WINAPI IFSMGR_DeviceIoControl(DWORD dwIoControlCode, LPVOID lpvInBuffer, DW
                                   LPDWORD lpcbBytesReturned,
                                   LPOVERLAPPED lpOverlapped)
 {
-    TRACE("(%d,%p,%d,%p,%d,%p,%p): stub\n",
+    TRACE("(%ld,%p,%ld,%p,%ld,%p,%p): stub\n",
           dwIoControlCode, lpvInBuffer,cbInBuffer, lpvOutBuffer,cbOutBuffer,
           lpcbBytesReturned, lpOverlapped);
 
@@ -146,7 +146,7 @@ BOOL WINAPI IFSMGR_DeviceIoControl(DWORD dwIoControlCode, LPVOID lpvInBuffer, DW
         FIXME( "Control 'IFS_IOCTL_GET_NETPRO_NAME_A' not implemented\n");
         return FALSE;
     default:
-        FIXME( "Control %d not implemented\n", dwIoControlCode);
+        FIXME( "Control %ld not implemented\n", dwIoControlCode);
         return FALSE;
     }
 }