Hans Leidekker : webservices: Handle WS_XML_TEXT_TYPE_INT32 in text_to_uint64.

Alexandre Julliard julliard at winehq.org
Tue Mar 17 17:21:10 CDT 2020


Module: wine
Branch: master
Commit: 084d5ac2b1bc0b87e1f89fcdcca14dd14971096f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=084d5ac2b1bc0b87e1f89fcdcca14dd14971096f

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Mar 17 15:35:44 2020 +0100

webservices: Handle WS_XML_TEXT_TYPE_INT32 in text_to_uint64.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/webservices/reader.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dlls/webservices/reader.c b/dlls/webservices/reader.c
index b328bb779e..bf29990923 100644
--- a/dlls/webservices/reader.c
+++ b/dlls/webservices/reader.c
@@ -5051,6 +5051,13 @@ static HRESULT text_to_uint64( const WS_XML_TEXT *text, UINT64 *val )
         hr = str_to_uint64( text_utf8->value.bytes, text_utf8->value.length, MAX_UINT64, val );
         break;
     }
+    case WS_XML_TEXT_TYPE_INT32:
+    {
+        const WS_XML_INT32_TEXT *text_int32 = (const WS_XML_INT32_TEXT *)text;
+        *val = text_int32->value;
+        hr = S_OK;
+        break;
+    }
     case WS_XML_TEXT_TYPE_INT64:
     {
         const WS_XML_INT64_TEXT *text_int64 = (const WS_XML_INT64_TEXT *)text;




More information about the wine-cvs mailing list