Alexandre Julliard : windows.globalization: Fix some prototype mismatches.

Alexandre Julliard julliard at winehq.org
Wed Jan 26 15:57:30 CST 2022


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Jan 26 11:21:05 2022 +0100

windows.globalization: Fix some prototype mismatches.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/windows.globalization/main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/windows.globalization/main.c b/dlls/windows.globalization/main.c
index 519d2b8bdac..e8fcd46ef63 100644
--- a/dlls/windows.globalization/main.c
+++ b/dlls/windows.globalization/main.c
@@ -126,7 +126,7 @@ static HRESULT STDMETHODCALLTYPE hstring_vector_GetTrustLevel(IVectorView_HSTRIN
 }
 
 static HRESULT STDMETHODCALLTYPE hstring_vector_GetAt(IVectorView_HSTRING *iface,
-        ULONG index, HSTRING *value)
+        UINT32 index, HSTRING *value)
 {
     struct hstring_vector *impl = impl_from_IVectorView_HSTRING(iface);
 
@@ -138,7 +138,7 @@ static HRESULT STDMETHODCALLTYPE hstring_vector_GetAt(IVectorView_HSTRING *iface
 }
 
 static HRESULT STDMETHODCALLTYPE hstring_vector_get_Size(IVectorView_HSTRING *iface,
-        ULONG *value)
+        UINT32 *value)
 {
     struct hstring_vector *impl = impl_from_IVectorView_HSTRING(iface);
 
@@ -149,7 +149,7 @@ static HRESULT STDMETHODCALLTYPE hstring_vector_get_Size(IVectorView_HSTRING *if
 }
 
 static HRESULT STDMETHODCALLTYPE hstring_vector_IndexOf(IVectorView_HSTRING *iface,
-        HSTRING element, ULONG *index, BOOLEAN *found)
+        HSTRING element, UINT32 *index, BOOLEAN *found)
 {
     struct hstring_vector *impl = impl_from_IVectorView_HSTRING(iface);
     INT32 i, order;
@@ -175,7 +175,7 @@ static HRESULT STDMETHODCALLTYPE hstring_vector_IndexOf(IVectorView_HSTRING *ifa
 }
 
 static HRESULT STDMETHODCALLTYPE hstring_vector_GetMany(IVectorView_HSTRING *iface,
-        ULONG start_index, ULONG items_size, HSTRING *items, UINT *count)
+        UINT32 start_index, UINT32 items_size, HSTRING *items, UINT *count)
 {
     struct hstring_vector *impl = impl_from_IVectorView_HSTRING(iface);
     HRESULT hr = S_OK;




More information about the wine-cvs mailing list