Author: mturk
Date: Fri Sep 24 15:50:21 2010
New Revision: 1000920

URL: http://svn.apache.org/viewvc?rev=1000920&view=rev
Log:
Fix compile time warning on WIN64

Modified:
    commons/proper/daemon/trunk/src/native/windows/src/mclib.c

Modified: commons/proper/daemon/trunk/src/native/windows/src/mclib.c
URL: 
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/windows/src/mclib.c?rev=1000920&r1=1000919&r2=1000920&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/windows/src/mclib.c (original)
+++ commons/proper/daemon/trunk/src/native/windows/src/mclib.c Fri Sep 24 
15:50:21 2010
@@ -311,7 +311,7 @@ lstrlcatA(LPSTR dst, int siz, LPCSTR src
     /* Find the end of dst and adjust bytes left but don't go past end */
     while (n-- != 0 && *d != '\0')
         d++;
-    dlen = d - dst;
+    dlen = (int)(d - dst);
     n = siz - dlen;
 
     if (n == 0)
@@ -339,7 +339,7 @@ lstrlcatW(LPWSTR dst, int siz, LPCWSTR s
     /* Find the end of dst and adjust bytes left but don't go past end */
     while (n-- != 0 && *d != '\0')
         d++;
-    dlen = d - dst;
+    dlen = (int)(d - dst);
     n = siz - dlen;
 
     if (n == 0)


Reply via email to