mpr: Win64 printf format warning fixes.
diff --git a/dlls/mpr/Makefile.in b/dlls/mpr/Makefile.in
index 9b6987d..ba58c7e 100644
--- a/dlls/mpr/Makefile.in
+++ b/dlls/mpr/Makefile.in
@@ -5,7 +5,6 @@
 MODULE    = mpr.dll
 IMPORTLIB = libmpr.$(IMPLIBEXT)
 IMPORTS   = user32 advapi32 kernel32
-EXTRADEFS = -DWINE_NO_LONG_AS_INT
 
 C_SRCS = \
 	auth.c \
diff --git a/dlls/mpr/multinet.c b/dlls/mpr/multinet.c
index 6c550e2..f05cd21 100644
--- a/dlls/mpr/multinet.c
+++ b/dlls/mpr/multinet.c
@@ -66,7 +66,7 @@
  */
 DWORD WINAPI MultinetGetErrorTextA( DWORD x, DWORD y, DWORD z )
 {
-    FIXME( "(%lx, %lx, %lx): stub\n", x, y, z );
+    FIXME( "(%x, %x, %x): stub\n", x, y, z );
     return 0;
 }
 
@@ -75,7 +75,6 @@
  */
 DWORD WINAPI MultinetGetErrorTextW( DWORD x, DWORD y, DWORD z )
 {
-    FIXME( "(%lx, %lx, %lx ): stub\n", x, y, z );
+    FIXME( "(%x, %x, %x ): stub\n", x, y, z );
     return 0;
 }
-
diff --git a/dlls/mpr/nps.c b/dlls/mpr/nps.c
index 044fcb8..2f75674 100644
--- a/dlls/mpr/nps.c
+++ b/dlls/mpr/nps.c
@@ -155,7 +155,7 @@
  */
 DWORD WINAPI NPSSetExtendedErrorA( DWORD NetSpecificError, LPSTR lpExtendedErrorText )
 {
-    FIXME( "(%08lx, %s): stub\n", NetSpecificError, debugstr_a(lpExtendedErrorText) );
+    FIXME( "(%08x, %s): stub\n", NetSpecificError, debugstr_a(lpExtendedErrorText) );
     return WN_NOT_SUPPORTED;
 }
 
@@ -190,7 +190,7 @@
  */
 DWORD WINAPI NPSDeviceGetStringA( DWORD dwNumber, DWORD dwType, LPSTR lpLocalName, LPDWORD lpdwBufferSize )
 {
-    FIXME( "(%ld, %ld, %p, %p): stub\n", dwNumber, dwType, lpLocalName, lpdwBufferSize );
+    FIXME( "(%d, %d, %p, %p): stub\n", dwNumber, dwType, lpLocalName, lpdwBufferSize );
     return WN_NOT_SUPPORTED;
 }
 
@@ -217,7 +217,7 @@
  */
 DWORD WINAPI PwdGetPasswordStatusA( LPCSTR lpProvider, DWORD dwIndex, LPDWORD status )
 {
-    FIXME("%s %ld %p\n", debugstr_a(lpProvider), dwIndex, status );
+    FIXME("%s %d %p\n", debugstr_a(lpProvider), dwIndex, status );
     *status = 0;
     return WN_SUCCESS;
 }
@@ -227,7 +227,7 @@
  */
 DWORD WINAPI PwdGetPasswordStatusW( LPCWSTR lpProvider, DWORD dwIndex, LPDWORD status )
 {
-    FIXME("%s %ld %p\n", debugstr_w(lpProvider), dwIndex, status );
+    FIXME("%s %d %p\n", debugstr_w(lpProvider), dwIndex, status );
     *status = 0;
     return WN_SUCCESS;
 }
@@ -237,7 +237,7 @@
  */
 DWORD WINAPI PwdSetPasswordStatusA( LPCSTR lpProvider, DWORD dwIndex, DWORD status )
 {
-    FIXME("%s %ld %ld\n", debugstr_a(lpProvider), dwIndex, status );
+    FIXME("%s %d %d\n", debugstr_a(lpProvider), dwIndex, status );
     return WN_SUCCESS;
 }
 
@@ -246,7 +246,7 @@
  */
 DWORD WINAPI PwdSetPasswordStatusW( LPCWSTR lpProvider, DWORD dwIndex, DWORD status )
 {
-    FIXME("%s %ld %ld\n", debugstr_w(lpProvider), dwIndex, status );
+    FIXME("%s %d %d\n", debugstr_w(lpProvider), dwIndex, status );
     return WN_SUCCESS;
 }
 
@@ -267,7 +267,7 @@
  */
 DWORD WINAPI PwdChangePasswordA( LPCSTR lpProvider, HWND hWnd, DWORD flags, LPCHANGEPWDINFOA info )
 {
-    FIXME("%s %p %lx %p\n", debugstr_a(lpProvider), hWnd, flags, info );
+    FIXME("%s %p %x %p\n", debugstr_a(lpProvider), hWnd, flags, info );
     return WN_SUCCESS;
 }
 
@@ -276,6 +276,6 @@
  */
 DWORD WINAPI PwdChangePasswordW( LPCWSTR lpProvider, HWND hWnd, DWORD flags, LPCHANGEPWDINFOW info )
 {
-    FIXME("%s %p %lx %p\n", debugstr_w(lpProvider), hWnd, flags, info );
+    FIXME("%s %p %x %p\n", debugstr_w(lpProvider), hWnd, flags, info );
     return WN_SUCCESS;
 }
diff --git a/dlls/mpr/pwcache.c b/dlls/mpr/pwcache.c
index b1d9112..bc8e25a 100644
--- a/dlls/mpr/pwcache.c
+++ b/dlls/mpr/pwcache.c
@@ -248,7 +248,7 @@
     PASSWORD_CACHE_ENTRY *entry;
     CHAR val[256], prefix[6];
 
-    WARN( "(%s, %d, %d, %p, 0x%08lx) totally insecure\n",
+    WARN( "(%s, %d, %d, %p, 0x%08x) totally insecure\n",
            debugstr_an(pbPrefix,cbPrefix), cbPrefix,
 	   nType, enumPasswordProc, param );
 
diff --git a/dlls/mpr/wnet.c b/dlls/mpr/wnet.c
index c099c68..fb3d3b4 100644
--- a/dlls/mpr/wnet.c
+++ b/dlls/mpr/wnet.c
@@ -166,7 +166,7 @@
                         provider->getCaps = getCaps;
                         provider->dwSpecVersion = getCaps(WNNC_SPEC_VERSION);
                         provider->dwNetType = getCaps(WNNC_NET_TYPE);
-                        TRACE("net type is 0x%08lx\n", provider->dwNetType);
+                        TRACE("net type is 0x%08x\n", provider->dwNetType);
                         provider->dwEnumScopes = getCaps(WNNC_ENUMERATION);
                         if (provider->dwEnumScopes)
                         {
@@ -520,7 +520,7 @@
         }
     }
     ret = numToThunk < *lpcCount ? WN_MORE_DATA : WN_SUCCESS;
-    TRACE("numToThunk is %ld, *lpcCount is %ld, returning %ld\n", numToThunk,
+    TRACE("numToThunk is %d, *lpcCount is %d, returning %d\n", numToThunk,
      *lpcCount, ret);
     return ret;
 }
@@ -605,7 +605,7 @@
         }
     }
     ret = numToThunk < *lpcCount ? WN_MORE_DATA : WN_SUCCESS;
-    TRACE("numToThunk is %ld, *lpcCount is %ld, returning %ld\n", numToThunk,
+    TRACE("numToThunk is %d, *lpcCount is %d, returning %d\n", numToThunk,
      *lpcCount, ret);
     return ret;
 }
@@ -620,7 +620,7 @@
 {
     DWORD ret;
 
-    TRACE( "(%08lX, %08lX, %08lX, %p, %p)\n",
+    TRACE( "(%08X, %08X, %08X, %p, %p)\n",
 	    dwScope, dwType, dwUsage, lpNet, lphEnum );
 
     if (!lphEnum)
@@ -663,7 +663,7 @@
     }
     if (ret)
         SetLastError(ret);
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -709,7 +709,7 @@
 {
     DWORD ret;
 
-    TRACE( "(%08lX, %08lX, %08lX, %p, %p)\n",
+    TRACE( "(%08X, %08X, %08X, %p, %p)\n",
           dwScope, dwType, dwUsage, lpNet, lphEnum );
 
     if (!lphEnum)
@@ -795,13 +795,13 @@
                 ret = *lphEnum ? WN_SUCCESS : WN_OUT_OF_MEMORY;
                 break;
             default:
-                WARN("unknown scope 0x%08lx\n", dwScope);
+                WARN("unknown scope 0x%08x\n", dwScope);
                 ret = WN_BAD_VALUE;
         }
     }
     if (ret)
         SetLastError(ret);
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -856,7 +856,7 @@
     }
     if (ret)
         SetLastError(ret);
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -938,7 +938,7 @@
         *lpcCount = count;
         ret = count > 0 ? WN_SUCCESS : WN_MORE_DATA;
     }
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -1023,7 +1023,7 @@
                 enumerator->providerDone = TRUE;
         }
     }
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -1062,10 +1062,10 @@
              lpBufferSize);
             break;
         default:
-            WARN("unexpected scope 0x%08lx\n", enumerator->dwScope);
+            WARN("unexpected scope 0x%08x\n", enumerator->dwScope);
             ret = WN_NO_MORE_ENTRIES;
     }
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -1167,7 +1167,7 @@
             *lpBufferSize = bytesNeeded;
         }
     }
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -1222,7 +1222,7 @@
     }
     if (ret)
         SetLastError(ret);
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -1268,7 +1268,7 @@
         ret = WN_BAD_HANDLE;
     if (ret)
         SetLastError(ret);
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -1365,7 +1365,7 @@
                                   LPCSTR lpPassword, LPCSTR lpUserID,
                                   DWORD dwFlags )
 {
-    FIXME( "(%p, %p, %s, 0x%08lX): stub\n",
+    FIXME( "(%p, %p, %s, 0x%08X): stub\n",
            lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags );
 
     SetLastError(WN_NO_NETWORK);
@@ -1379,7 +1379,7 @@
                                   LPCWSTR lpPassword, LPCWSTR lpUserID,
                                   DWORD dwFlags )
 {
-    FIXME( "(%p, %p, %s, 0x%08lX): stub\n",
+    FIXME( "(%p, %p, %s, 0x%08X): stub\n",
            lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags );
 
     SetLastError(WN_NO_NETWORK);
@@ -1393,7 +1393,7 @@
                                   LPCSTR lpPassword, LPCSTR lpUserID,
                                   DWORD dwFlags )
 {
-    FIXME( "(%p, %p, %p, %s, 0x%08lX), stub\n",
+    FIXME( "(%p, %p, %p, %s, 0x%08X), stub\n",
            hwndOwner, lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags );
 
     SetLastError(WN_NO_NETWORK);
@@ -1407,7 +1407,7 @@
                                   LPCWSTR lpPassword, LPCWSTR lpUserID,
                                   DWORD dwFlags )
 {
-    FIXME( "(%p, %p, %p, %s, 0x%08lX), stub\n",
+    FIXME( "(%p, %p, %p, %s, 0x%08X), stub\n",
            hwndOwner, lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags );
 
     SetLastError(WN_NO_NETWORK);
@@ -1422,7 +1422,7 @@
                                  LPSTR lpAccessName, LPDWORD lpBufferSize,
                                  LPDWORD lpResult )
 {
-    FIXME( "(%p, %p, %p, %s, 0x%08lX, %s, %p, %p), stub\n",
+    FIXME( "(%p, %p, %p, %s, 0x%08X, %s, %p, %p), stub\n",
            hwndOwner, lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags,
            debugstr_a(lpAccessName), lpBufferSize, lpResult );
 
@@ -1438,7 +1438,7 @@
                                  LPWSTR lpAccessName, LPDWORD lpBufferSize,
                                  LPDWORD lpResult )
 {
-    FIXME( "(%p, %p, %p, %s, 0x%08lX, %s, %p, %p), stub\n",
+    FIXME( "(%p, %p, %p, %s, 0x%08X, %s, %p, %p), stub\n",
            hwndOwner, lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags,
            debugstr_w(lpAccessName), lpBufferSize, lpResult );
 
@@ -1471,7 +1471,7 @@
  */
 DWORD WINAPI WNetCancelConnection2A( LPCSTR lpName, DWORD dwFlags, BOOL fForce )
 {
-    FIXME( "(%s, %08lX, %d), stub\n", debugstr_a(lpName), dwFlags, fForce );
+    FIXME( "(%s, %08X, %d), stub\n", debugstr_a(lpName), dwFlags, fForce );
 
     return WN_SUCCESS;
 }
@@ -1481,7 +1481,7 @@
  */
 DWORD WINAPI WNetCancelConnection2W( LPCWSTR lpName, DWORD dwFlags, BOOL fForce )
 {
-    FIXME( "(%s, %08lX, %d), stub\n", debugstr_w(lpName), dwFlags, fForce );
+    FIXME( "(%s, %08X, %d), stub\n", debugstr_w(lpName), dwFlags, fForce );
 
     return WN_SUCCESS;
 }
@@ -1603,7 +1603,7 @@
     }
     if (ret)
         SetLastError(ret);
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -1666,7 +1666,7 @@
     }
     if (ret)
         SetLastError(ret);
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -1676,7 +1676,7 @@
 DWORD WINAPI WNetSetConnectionA( LPCSTR lpName, DWORD dwProperty,
                                  LPVOID pvValue )
 {
-    FIXME( "(%s, %08lX, %p): stub\n", debugstr_a(lpName), dwProperty, pvValue );
+    FIXME( "(%s, %08X, %p): stub\n", debugstr_a(lpName), dwProperty, pvValue );
 
     SetLastError(WN_NO_NETWORK);
     return WN_NO_NETWORK;
@@ -1688,7 +1688,7 @@
 DWORD WINAPI WNetSetConnectionW( LPCWSTR lpName, DWORD dwProperty,
                                  LPVOID pvValue )
 {
-    FIXME( "(%s, %08lX, %p): stub\n", debugstr_w(lpName), dwProperty, pvValue );
+    FIXME( "(%s, %08X, %p): stub\n", debugstr_w(lpName), dwProperty, pvValue );
 
     SetLastError(WN_NO_NETWORK);
     return WN_NO_NETWORK;
@@ -1700,7 +1700,7 @@
 DWORD WINAPI WNetGetUniversalNameA ( LPCSTR lpLocalPath, DWORD dwInfoLevel,
                                      LPVOID lpBuffer, LPDWORD lpBufferSize )
 {
-    FIXME( "(%s, 0x%08lX, %p, %p): stub\n",
+    FIXME( "(%s, 0x%08X, %p, %p): stub\n",
            debugstr_a(lpLocalPath), dwInfoLevel, lpBuffer, lpBufferSize);
 
     SetLastError(WN_NO_NETWORK);
@@ -1716,7 +1716,7 @@
     LPUNIVERSAL_NAME_INFOW uniw;
     DWORD err, len;
 
-    FIXME( "(%s, 0x%08lX, %p, %p): stub\n",
+    FIXME( "(%s, 0x%08X, %p, %p): stub\n",
            debugstr_w(lpLocalPath), dwInfoLevel, lpBuffer, lpBufferSize);
 
     switch (dwInfoLevel)
@@ -1778,7 +1778,7 @@
  */
 DWORD WINAPI WNetConnectionDialog( HWND hwnd, DWORD dwType )
 {
-    FIXME( "(%p, %08lX): stub\n", hwnd, dwType );
+    FIXME( "(%p, %08X): stub\n", hwnd, dwType );
 
     SetLastError(WN_NO_NETWORK);
     return WN_NO_NETWORK;
@@ -1811,7 +1811,7 @@
  */
 DWORD WINAPI WNetDisconnectDialog( HWND hwnd, DWORD dwType )
 {
-    FIXME( "(%p, %08lX): stub\n", hwnd, dwType );
+    FIXME( "(%p, %08X): stub\n", hwnd, dwType );
 
     SetLastError(WN_NO_NETWORK);
     return WN_NO_NETWORK;
@@ -1846,7 +1846,7 @@
                                 LPSTR lpErrorBuf, DWORD nErrorBufSize,
                                 LPSTR lpNameBuf, DWORD nNameBufSize )
 {
-    FIXME( "(%p, %p, %ld, %p, %ld): stub\n",
+    FIXME( "(%p, %p, %d, %p, %d): stub\n",
            lpError, lpErrorBuf, nErrorBufSize, lpNameBuf, nNameBufSize );
 
     SetLastError(WN_NO_NETWORK);
@@ -1860,7 +1860,7 @@
                                 LPWSTR lpErrorBuf, DWORD nErrorBufSize,
                          LPWSTR lpNameBuf, DWORD nNameBufSize )
 {
-    FIXME( "(%p, %p, %ld, %p, %ld): stub\n",
+    FIXME( "(%p, %p, %d, %p, %d): stub\n",
            lpError, lpErrorBuf, nErrorBufSize, lpNameBuf, nNameBufSize );
 
     SetLastError(WN_NO_NETWORK);
@@ -1903,7 +1903,7 @@
     }
     if (ret)
         SetLastError(ret);
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -1951,7 +1951,7 @@
     }
     if (ret)
         SetLastError(ret);
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -1963,7 +1963,7 @@
 {
     DWORD ret;
 
-    TRACE("(0x%08lx, %s, %p)\n", dwNetType, debugstr_a(lpProvider),
+    TRACE("(0x%08x, %s, %p)\n", dwNetType, debugstr_a(lpProvider),
      lpBufferSize);
 
     if (!lpProvider)
@@ -2006,7 +2006,7 @@
     }
     if (ret)
         SetLastError(ret);
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }
 
@@ -2018,7 +2018,7 @@
 {
     DWORD ret;
 
-    TRACE("(0x%08lx, %s, %p)\n", dwNetType, debugstr_w(lpProvider),
+    TRACE("(0x%08x, %s, %p)\n", dwNetType, debugstr_w(lpProvider),
      lpBufferSize);
 
     if (!lpProvider)
@@ -2059,6 +2059,6 @@
     }
     if (ret)
         SetLastError(ret);
-    TRACE("Returning %ld\n", ret);
+    TRACE("Returning %d\n", ret);
     return ret;
 }