From 3a709fa5bbc7843c8112ba0ee1ff267b55b55e5d Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 9 Jun 2011 13:18:58 +0200 Subject: [PATCH] widl: Fix a typo in updating the type format offset for strings. --- tools/widl/typegen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 2cb8767a831..e07769ce1a4 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -984,8 +984,8 @@ static unsigned char get_parameter_fc( const type_t *type, const attr_list_t *at if (is_declptr( type ) && get_pointer_fc( type, attrs, !is_return ) == RPC_FC_RP) { /* skip over pointer description straight to string description */ - if (is_conformant_array( type )) typestring_offset += 4; - else typestring_offset += 2; + if (is_conformant_array( type )) *typestring_offset += 4; + else *typestring_offset += 2; *flags |= IsSimpleRef; } break;