Commit 4f106ca3 authored by Alexandre Julliard's avatar Alexandre Julliard

widl: Fix alignment check for struct members format string.

parent 8996c79d
......@@ -1051,7 +1051,7 @@ static size_t write_struct_members(FILE *file, const type_t *type)
error("Unsupported member type 0x%x\n", rtype);
}
if (typestring_size % 1)
if (!(typestring_size % 2))
{
print_file(file, 2, "0x%x,\t\t/* FC_PAD */\n", RPC_FC_PAD);
typestring_size++;
......
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