Hans Leidekker : webservices: Handle WS_XML_TEXT_TYPE_INT64 in text_to_uint64.
Alexandre Julliard
julliard at winehq.org
Wed Jun 6 15:21:48 CDT 2018
Module: wine
Branch: master
Commit: 80e3f19c30d8fca91cc3f2cd3320b0a0b58150fe
URL: https://source.winehq.org/git/wine.git/?a=commit;h=80e3f19c30d8fca91cc3f2cd3320b0a0b58150fe
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed Jun 6 14:10:09 2018 +0200
webservices: Handle WS_XML_TEXT_TYPE_INT64 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 79a1af6..6925200 100644
--- a/dlls/webservices/reader.c
+++ b/dlls/webservices/reader.c
@@ -5095,6 +5095,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_INT64:
+ {
+ const WS_XML_INT64_TEXT *text_int64 = (const WS_XML_INT64_TEXT *)text;
+ *val = text_int64->value;
+ hr = S_OK;
+ break;
+ }
case WS_XML_TEXT_TYPE_UINT64:
{
const WS_XML_UINT64_TEXT *text_uint64 = (const WS_XML_UINT64_TEXT *)text;
More information about the wine-cvs
mailing list