Author: pschweitzer
Date: Sun Jun 18 15:41:54 2017
New Revision: 75097

URL: http://svn.reactos.org/svn/reactos?rev=75097&view=rev
Log:
[LIBTIRPC]
Fix MSVC build?

Modified:
    trunk/reactos/dll/win32/libtirpc/src/svc_vc.c

Modified: trunk/reactos/dll/win32/libtirpc/src/svc_vc.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/libtirpc/src/svc_vc.c?rev=75097&r1=75096&r2=75097&view=diff
==============================================================================
--- trunk/reactos/dll/win32/libtirpc/src/svc_vc.c       [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/libtirpc/src/svc_vc.c       [iso-8859-1] Sun Jun 18 
15:41:54 2017
@@ -560,10 +560,14 @@
  * Any error is fatal and the connection is closed.
  */
 static int
+#ifdef __REACTOS__
+write_vc(xprtp, ptr, len)
+#else
 write_vc(xprtp, buf, len)
+#endif
        void *xprtp;
 #ifdef __REACTOS__
-    void *buf;
+    void *ptr;
 #else
        char *buf;
 #endif
@@ -573,6 +577,9 @@
        int i, cnt;
        struct cf_conn *cd;
        struct timeval tv0, tv1;
+#ifdef __REACTOS__
+    char *buf = ptr;
+#endif
 
        xprt = (SVCXPRT *)xprtp;
        assert(xprt != NULL);


Reply via email to