Commit e2ea2b58 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

widl: Fix the type offset for generated conformant string calls.

parent 62c25c5a
......@@ -1591,11 +1591,11 @@ void write_remoting_arguments(FILE *file, int indent, const func_t *func,
fprintf(file, ";\n");
}
/* FIXME: these can't both be correct */
if (phase == PHASE_FREE)
print_phase_function(file, indent, "Pointer", phase, var->name, *type_offset);
else
print_phase_function(file, indent, "ConformantString", phase, var->name, *type_offset);
print_phase_function(file, indent, "ConformantString", phase, var->name,
*type_offset + (has_size ? 4 : 2));
}
}
else if (is_array_type(var->attrs, var->ptr_level, var->array))
......
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