subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1188762 - /subversion/trunk/subversion/tests/libsvn_wc/wc-incomplete-tester.c
Date Tue, 25 Oct 2011 16:23:48 GMT
Author: rhuijben
Date: Tue Oct 25 16:23:48 2011
New Revision: 1188762

URL: http://svn.apache.org/viewvc?rev=1188762&view=rev
Log:
* subversion/tests/libsvn_wc/wc-incomplete-tester.c
  (incomplete): Use apr_int64_t as output argument for svn_cstring_atoi64.

Modified:
    subversion/trunk/subversion/tests/libsvn_wc/wc-incomplete-tester.c

Modified: subversion/trunk/subversion/tests/libsvn_wc/wc-incomplete-tester.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/wc-incomplete-tester.c?rev=1188762&r1=1188761&r2=1188762&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/wc-incomplete-tester.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/wc-incomplete-tester.c Tue Oct 25 16:23:48
2011
@@ -29,15 +29,15 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-static
-svn_error_t *incomplete(const char *wc_path,
-                        const char *rev_str,
-                        const char *repos_relpath,
-                        apr_pool_t *pool)
+static svn_error_t *
+incomplete(const char *wc_path,
+           const char *rev_str,
+           const char *repos_relpath,
+           apr_pool_t *pool)
 {
   svn_wc_context_t *wc_ctx;
   const char *local_abspath;
-  svn_revnum_t revnum;
+  apr_int64_t revnum;
 
   SVN_ERR(svn_wc_context_create(&wc_ctx, NULL, pool, pool));
 
@@ -60,7 +60,7 @@ svn_error_t *incomplete(const char *wc_p
   SVN_ERR(svn_wc__db_temp_op_start_directory_update(wc_ctx->db,
                                                     local_abspath,
                                                     repos_relpath,
-                                                    revnum,
+                                                    (svn_revnum_t)revnum,
                                                     pool));
 
   return SVN_NO_ERROR;



Mime
View raw message