| From 3133bde97438739f9d416e85302f346d1a5a1899 Mon Sep 17 00:00:00 2001 |
| From: Alexpux <alexey.pawlow@gmail.com> |
| Date: Fri, 21 Nov 2014 21:44:53 +0300 |
| Subject: [PATCH 12/27] Fix cast error for 64-bit. |
| |
| --- |
| src/remote/os/win32/srvr_w32.cpp | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/src/remote/os/win32/srvr_w32.cpp b/src/remote/os/win32/srvr_w32.cpp |
| index fd0f75c692..a0bf167bbe 100644 |
| --- a/src/remote/os/win32/srvr_w32.cpp |
| +++ b/src/remote/os/win32/srvr_w32.cpp |
| @@ -269,7 +269,7 @@ int WINAPI WinMain(HINSTANCE hThisInst, HINSTANCE /*hPrevInst*/, LPSTR lpszArgs, |
| else if (server_flag & SRVR_wnet) |
| port = WNET_reconnect(connection_handle, status_vector); |
| else if (server_flag & SRVR_xnet) |
| - port = XNET_reconnect((ULONG) connection_handle, status_vector); |
| + port = XNET_reconnect((ULONG_PTR) connection_handle, status_vector); |
| |
| if (port) { |
| service_connection(port); |
| -- |
| 2.13.0 |
| |