[3/9] webservices: Fix a typo.

Hans Leidekker hans at codeweavers.com
Wed Apr 13 06:49:40 CDT 2016


Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 dlls/webservices/reader.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/webservices/reader.c b/dlls/webservices/reader.c
index 713e992..34b62e7 100644
--- a/dlls/webservices/reader.c
+++ b/dlls/webservices/reader.c
@@ -2759,7 +2759,7 @@ static HRESULT read_type_struct_field( struct reader *reader, const WS_FIELD_DES
     {
         ULONG count;
         hr = read_type_repeating_element( reader, desc, option, heap, (void **)ptr, size, &count );
-        if (hr == S_OK) *(ULONG *)(ptr + desc->countOffset) = count;
+        if (hr == S_OK) *(ULONG *)(buf + desc->countOffset) = count;
         break;
     }
     case WS_TEXT_FIELD_MAPPING:
-- 
2.8.0.rc3




More information about the wine-patches mailing list