Not sure if I'm properly fix it but I try.
From ad519c7d7de3a7a5c1e41511412acb4ae4c66616 Mon Sep 17 00:00:00 2001
From: Alexpux <[email protected]>
Date: Mon, 24 Nov 2014 08:15:50 +0300
Subject: [PATCH] Fix cast error for 64-bit.
---
src/remote/server/os/win32/srvr_w32.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/remote/server/os/win32/srvr_w32.cpp
b/src/remote/server/os/win32/srvr_w32.cpp
index b3abb64..02cdf40 100644
--- a/src/remote/server/os/win32/srvr_w32.cpp
+++ b/src/remote/server/os/win32/srvr_w32.cpp
@@ -295,7 +295,7 @@ int WINAPI WinMain(HINSTANCE hThisInst, HINSTANCE
/*hPrevInst*/, LPSTR lpszArgs,
else if (server_flag & SRVR_wnet)
port = WNET_reconnect(connection_handle);
else if (server_flag & SRVR_xnet)
- port = XNET_reconnect((ULONG)
connection_handle);
+ port = XNET_reconnect((ULONG_PTR)
connection_handle);
if (port)
service_connection(port);
--
2.2.0
From bdc6d8fb4dce50f6949dfe6f90017727689c4265 Mon Sep 17 00:00:00 2001
From: Alexpux <[email protected]>
Date: Wed, 19 Nov 2014 22:33:30 +0300
Subject: [PATCH] Fix cast error.
---
src/remote/inet.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/remote/inet.cpp b/src/remote/inet.cpp
index 8d76c58..307687a 100644
--- a/src/remote/inet.cpp
+++ b/src/remote/inet.cpp
@@ -1730,7 +1730,7 @@ static void wsaExitHandler(void*)
}
-static int fork(SOCKET old_handle, USHORT flag)
+static int fork(SOCKET old_handle, DWORD flag)
{
/**************************************
*
@@ -1787,7 +1787,7 @@ static int fork(SOCKET old_handle, USHORT flag)
THREAD_ENTRY_DECLARE forkThread(THREAD_ENTRY_PARAM arg)
{
- const USHORT flag = (USHORT) arg;
+ const DWORD flag = (DWORD) arg;
while (!INET_shutting_down)
{
--
2.2.0
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel