Alistair Leslie-Hughes : oledb32: Pass the correct value to SafeArrayPutElement.

Alexandre Julliard julliard at winehq.org
Thu May 30 14:51:32 CDT 2013


Module: wine
Branch: master
Commit: 805abf6d89656db0e4af632fa3e2ac05cf4547dd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=805abf6d89656db0e4af632fa3e2ac05cf4547dd

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Thu May 30 14:24:01 2013 +1000

oledb32: Pass the correct value to SafeArrayPutElement.

---

 dlls/oledb32/convert.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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;




More information about the wine-cvs mailing list