Author: sserapion
Date: Sun Dec 14 19:45:23 2008
New Revision: 38092
URL:
http://svn.reactos.org/svn/reactos?rev=38092&view=rev
Log:
Fix 64bit-warnings.
Modified:
branches/ros-amd64-bringup/reactos/dll/win32/rpcrt4/rpc_transport.c
Modified: branches/ros-amd64-bringup/reactos/dll/win32/rpcrt4/rpc_transport.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/w…
==============================================================================
--- branches/ros-amd64-bringup/reactos/dll/win32/rpcrt4/rpc_transport.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/dll/win32/rpcrt4/rpc_transport.c [iso-8859-1] Sun
Dec 14 19:45:23 2008
@@ -760,7 +760,7 @@
{
RpcConnection common;
int sock;
- int cancel_fds[2];
+ SOCKET cancel_fds[2];
} RpcConnection_tcp;
static RpcConnection *rpcrt4_conn_tcp_alloc(void)
@@ -812,7 +812,7 @@
for (ai_cur = ai; ai_cur; ai_cur = ai_cur->ai_next)
{
- int val;
+ char val;
if (TRACE_ON(rpc))
{
@@ -1089,7 +1089,7 @@
static void rpcrt4_conn_tcp_cancel_call(RpcConnection *Connection)
{
RpcConnection_tcp *tcpc = (RpcConnection_tcp *) Connection;
- char dummy = 1;
+ SOCKET dummy = 1;
TRACE("%p\n", Connection);
@@ -1269,7 +1269,7 @@
RpcServerProtseq_sock *ps = HeapAlloc(GetProcessHeap(), 0, sizeof(*ps));
if (ps)
{
- int fds[2];
+ SOCKET fds[2];
if (!socketpair(PF_UNIX, SOCK_DGRAM, 0, fds))
{
fcntl(fds[0], F_SETFL, O_NONBLOCK);