You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/03/26 13:22:59 UTC

svn commit: r927793 - /subversion/trunk/subversion/tests/libsvn_client/client-test.c

Author: rhuijben
Date: Fri Mar 26 12:22:58 2010
New Revision: 927793

URL: http://svn.apache.org/viewvc?rev=927793&view=rev
Log:
* subversion/tests/libsvn_client/client-test.c
  (check_patch_result):
    Following up on r927785, cast strlen() result to int to fix some
    64 bit warnings.

Found by: philip's compiler

Modified:
    subversion/trunk/subversion/tests/libsvn_client/client-test.c

Modified: subversion/trunk/subversion/tests/libsvn_client/client-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_client/client-test.c?rev=927793&r1=927792&r2=927793&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_client/client-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_client/client-test.c Fri Mar 26 12:22:58 2010
@@ -232,8 +232,8 @@ check_patch_result(const char *path, con
           return svn_error_createf(SVN_ERR_TEST_FAILED, NULL,
                                    "%s line %d didn't match the expected line "
                                    "(strlen=%d vs strlen=%d)", path, i,
-                                   strlen(expected_lines[i-1]),
-                                   strlen(line->data));
+                                   (int)strlen(expected_lines[i-1]),
+                                   (int)strlen(line->data));
 
       if (eof)
         break;