Eric Pouech : odbccp32: Enable compilation with long types.
Alexandre Julliard
julliard at winehq.org
Wed Feb 16 15:30:23 CST 2022
Module: wine
Branch: master
Commit: c54cad850bcced6ad8abd11fbabbdbd487770253
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c54cad850bcced6ad8abd11fbabbdbd487770253
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Wed Feb 16 08:11:58 2022 +0100
odbccp32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/odbccp32/Makefile.in | 1 -
dlls/odbccp32/odbccp32.c | 12 ++++++------
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/dlls/odbccp32/Makefile.in b/dlls/odbccp32/Makefile.in
index ec36870b114..77308270728 100644
--- a/dlls/odbccp32/Makefile.in
+++ b/dlls/odbccp32/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = odbccp32.dll
IMPORTLIB = odbccp32
IMPORTS = uuid advapi32
diff --git a/dlls/odbccp32/odbccp32.c b/dlls/odbccp32/odbccp32.c
index 1c46584cd29..131cb158ed6 100644
--- a/dlls/odbccp32/odbccp32.c
+++ b/dlls/odbccp32/odbccp32.c
@@ -108,7 +108,7 @@ static inline WCHAR *heap_strdupAtoW(const char *str)
BOOL WINAPI ODBCCPlApplet( LONG i, LONG j, LONG * p1, LONG * p2)
{
clear_errors();
- FIXME( "( %d %d %p %p) : stub!\n", i, j, p1, p2);
+ FIXME( "( %ld %ld %p %p) : stub!\n", i, j, p1, p2);
return FALSE;
}
@@ -977,7 +977,7 @@ static void write_registry_values(const WCHAR *regkey, const WCHAR *driver, cons
/* Store Usage */
size = sizeof(usagecount);
RegGetValueA(hkeydriver, NULL, "UsageCount", RRF_RT_DWORD, &type, &usagecount, &size);
- TRACE("Usage count %d\n", usagecount);
+ TRACE("Usage count %ld\n", usagecount);
for (; *p; p += lstrlenW(p) + 1)
{
@@ -1399,14 +1399,14 @@ BOOL WINAPI SQLManageDataSources(HWND hwnd)
SQLRETURN WINAPI SQLPostInstallerErrorW(DWORD fErrorCode, LPCWSTR szErrorMsg)
{
- FIXME("%u %s\n", fErrorCode, debugstr_w(szErrorMsg));
+ FIXME("%lu %s\n", fErrorCode, debugstr_w(szErrorMsg));
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
SQLRETURN WINAPI SQLPostInstallerError(DWORD fErrorCode, LPCSTR szErrorMsg)
{
- FIXME("%u %s\n", fErrorCode, debugstr_a(szErrorMsg));
+ FIXME("%lu %s\n", fErrorCode, debugstr_a(szErrorMsg));
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
@@ -1460,7 +1460,7 @@ BOOL WINAPI SQLRemoveDriverW(LPCWSTR drivername, BOOL remove_dsn, LPDWORD usage_
size = sizeof(usagecount);
RegGetValueA(hkeydriver, NULL, "UsageCount", RRF_RT_DWORD, &type, &usagecount, &size);
- TRACE("Usage count %d\n", usagecount);
+ TRACE("Usage count %ld\n", usagecount);
count = usagecount - 1;
if (count)
{
@@ -1584,7 +1584,7 @@ BOOL WINAPI SQLRemoveTranslatorW(const WCHAR *translator, DWORD *usage_count)
size = sizeof(usagecount);
RegGetValueA(hkeydriver, NULL, "UsageCount", RRF_RT_DWORD, &type, &usagecount, &size);
- TRACE("Usage count %d\n", usagecount);
+ TRACE("Usage count %ld\n", usagecount);
count = usagecount - 1;
if (count)
{
More information about the wine-cvs
mailing list