Commit 047b7fc2 authored by Alexandre Julliard's avatar Alexandre Julliard

widl: Map VT_USERDEFINED to VT_I4 for default values in typelibs.

parent a8fc62d1
......@@ -1229,6 +1229,9 @@ static void write_default_value(msft_typelib_t *typelib, type_t *type, expr_t *e
case VT_UINT:
case VT_HRESULT:
break;
case VT_USERDEFINED:
vt = VT_I4;
break;
case VT_VARIANT: {
switch (expr->type) {
case EXPR_DOUBLE:
......
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