[PATCH] programs/rpcss: use correct integral type

Eric Pouech eric.pouech at gmail.com
Wed Jan 26 01:46:29 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 programs/rpcss/rpcss_main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/rpcss/rpcss_main.c b/programs/rpcss/rpcss_main.c
index af055e6000a..99b4020882b 100644
--- a/programs/rpcss/rpcss_main.c
+++ b/programs/rpcss/rpcss_main.c
@@ -56,7 +56,7 @@ HRESULT __cdecl irpcss_server_register(handle_t h, const GUID *clsid, unsigned i
         PMInterfacePointer object, unsigned int *cookie)
 {
     struct registered_class *entry;
-    static int next_cookie;
+    static LONG next_cookie;
 
     if (!(entry = heap_alloc_zero(sizeof(*entry))))
         return E_OUTOFMEMORY;




More information about the wine-devel mailing list