From 8aeeecdfcb87a92289bb64aa0239b0bafee6acc0 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 16 Mar 2022 13:19:32 +1100 Subject: [PATCH] Updated mshtml-HTMLLocation_put_hash patchset Warning fixes. --- ...html-Add-IHTMLLocation-hash-property-s-getter-impl.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/mshtml-HTMLLocation_put_hash/0001-mshtml-Add-IHTMLLocation-hash-property-s-getter-impl.patch b/patches/mshtml-HTMLLocation_put_hash/0001-mshtml-Add-IHTMLLocation-hash-property-s-getter-impl.patch index 01476aa5..b4785f7a 100644 --- a/patches/mshtml-HTMLLocation_put_hash/0001-mshtml-Add-IHTMLLocation-hash-property-s-getter-impl.patch +++ b/patches/mshtml-HTMLLocation_put_hash/0001-mshtml-Add-IHTMLLocation-hash-property-s-getter-impl.patch @@ -51,7 +51,7 @@ index ff050863b6f..2c118d89d1d 100644 + + location = NULL; + hres = IHTMLDocument2_get_location(doc, &location); -+ ok(hres == S_OK, "get_location failed: %08x\n", hres); ++ ok(hres == S_OK, "get_location failed: %08lx\n", hres); + ok(location != NULL, "location == NULL\n"); + + SET_EXPECT(TranslateUrl); @@ -70,7 +70,7 @@ index ff050863b6f..2c118d89d1d 100644 + + str = SysAllocString(new_hash); + hres = IHTMLLocation_put_hash(location, str); -+ ok (hres == S_OK, "put_hash failed: %08x\n", hres); ++ ok (hres == S_OK, "put_hash failed: %08lx\n", hres); + SysFreeString(str); + + CHECK_CALLED(TranslateUrl); @@ -82,7 +82,7 @@ index ff050863b6f..2c118d89d1d 100644 + + /* Check the result */ + hres = IHTMLLocation_get_hash(location, &str); -+ ok(hres == S_OK, "get_hash failed: %08x\n", hres); ++ ok(hres == S_OK, "get_hash failed: %08lx\n", hres); + ok(!wcscmp(str, new_hash), "expected %s, got %s\n", debugstr_w(new_hash), debugstr_w(str)); + SysFreeString(str); +