oledb32: Pass the correct value to SafeArrayPutElement.

This commit is contained in:
Alistair Leslie-Hughes 2013-05-30 14:24:01 +10:00 committed by Alexandre Julliard
parent 5faa69d3e3
commit 805abf6d89
1 changed files with 1 additions and 1 deletions

View File

@ -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;