Eric Pouech : oledb32: Use correct integral type.
Alexandre Julliard
julliard at winehq.org
Tue Feb 1 15:21:35 CST 2022
Module: wine
Branch: master
Commit: 8e3d491051dccccd512dae425d7d8f429e9bbdbd
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8e3d491051dccccd512dae425d7d8f429e9bbdbd
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Tue Feb 1 14:05:33 2022 +0100
oledb32: Use correct integral type.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/oledb32/convert.c | 2 +-
dlls/oledb32/datainit.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/oledb32/convert.c b/dlls/oledb32/convert.c
index 81483dc0a09..9bd93b6ca66 100644
--- a/dlls/oledb32/convert.c
+++ b/dlls/oledb32/convert.c
@@ -313,7 +313,7 @@ static HRESULT WINAPI convert_DataConvert(IDataConvert* iface,
case DBTYPE_I4:
{
- signed int *d = dst;
+ LONG *d = dst;
switch(src_type)
{
case DBTYPE_EMPTY: *d = 0; hr = S_OK; break;
diff --git a/dlls/oledb32/datainit.c b/dlls/oledb32/datainit.c
index ec26d0a11ee..08bc60bce92 100644
--- a/dlls/oledb32/datainit.c
+++ b/dlls/oledb32/datainit.c
@@ -677,7 +677,7 @@ HRESULT get_data_source(IUnknown *outer, DWORD clsctx, LPWSTR initstring, REFIID
if (*datasource && prov)
{
DBPROPIDSET propidset;
- enum DBPROPENUM prop;
+ DWORD prop;
CLSID initprov;
ULONG count;
More information about the wine-cvs
mailing list