Commit b257f294 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

oledb32: Supply a default dst len in GetConversionSize.

parent f629e979
...@@ -1371,6 +1371,8 @@ static HRESULT WINAPI convert_GetConversionSize(IDataConvert* iface, ...@@ -1371,6 +1371,8 @@ static HRESULT WINAPI convert_GetConversionSize(IDataConvert* iface,
if ((*dst_len = get_length(dst_type))) if ((*dst_len = get_length(dst_type)))
return S_OK; return S_OK;
*dst_len = 110;
if(src_type == DBTYPE_VARIANT && V_VT((VARIANT*)src) == VT_NULL) if(src_type == DBTYPE_VARIANT && V_VT((VARIANT*)src) == VT_NULL)
return S_OK; return S_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment