[4/4] oledb32: Pass the correct value to SafeArrayPutElement

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Thu May 30 04:26:32 CDT 2013


Hi,


Changelog:
     oledb32: Pass the correct value to SafeArrayPutElement


Best Regards
  Alistair Leslie-Hughes
-------------- next part --------------
>From 4f99d9289fc53ae92a08583d766408b1a700effd Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Thu, 30 May 2013 14:24:01 +1000
Subject: [PATCH] Pass the correct value to SafeArrayPutElement
To: wine-patches <wine-patches at winehq.org>

---
 dlls/oledb32/convert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/oledb32/convert.c b/dlls/oledb32/convert.c
index 4ec687c..e68078b 100644
--- a/dlls/oledb32/convert.c
+++ b/dlls/oledb32/convert.c
@@ -960,7 +960,7 @@ static HRESULT WINAPI convert_DataConvert(IDataConvert* iface,
             psa = SafeArrayCreate(VT_UI1,1,rgsabound);
             for(i =0; i < src_len; i++,p++)
             {
-                hr = SafeArrayPutElement(psa, &i, &p);
+                hr = SafeArrayPutElement(psa, &i, p);
                 if(FAILED(hr)) {
                    SafeArrayDestroy (psa);
                    return hr;
-- 
1.8.1.2



More information about the wine-patches mailing list