subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1325238 - /subversion/trunk/subversion/tests/svn_test_main.c
Date Thu, 12 Apr 2012 13:04:37 GMT
Author: hwright
Date: Thu Apr 12 13:04:37 2012
New Revision: 1325238

URL: http://svn.apache.org/viewvc?rev=1325238&view=rev
Log:
* subversion/tests/svn_test_main.c
  (main): Cast away an integer width mismatch warning.

Modified:
    subversion/trunk/subversion/tests/svn_test_main.c

Modified: subversion/trunk/subversion/tests/svn_test_main.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/svn_test_main.c?rev=1325238&r1=1325237&r2=1325238&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/svn_test_main.c (original)
+++ subversion/trunk/subversion/tests/svn_test_main.c Thu Apr 12 13:04:37 2012
@@ -461,7 +461,7 @@ main(int argc, const char *argv[])
         case server_minor_version_opt:
           {
             char *end;
-            opts.server_minor_version = strtol(opt_arg, &end, 10);
+            opts.server_minor_version = (int) strtol(opt_arg, &end, 10);
             if (end == opt_arg || *end != '\0')
               {
                 fprintf(stderr, "FAIL: Non-numeric minor version given\n");



Mime
View raw message