Alexandre Julliard : widl: Fix a typo in updating the type format offset for strings.

Alexandre Julliard julliard at winehq.org
Thu Jun 9 11:47:38 CDT 2011


Module: wine
Branch: master
Commit: 3a709fa5bbc7843c8112ba0ee1ff267b55b55e5d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3a709fa5bbc7843c8112ba0ee1ff267b55b55e5d

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jun  9 13:18:58 2011 +0200

widl: Fix a typo in updating the type format offset for strings.

---

 tools/widl/typegen.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index 2cb8767..e07769c 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;




More information about the wine-cvs mailing list