You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/11/26 15:40:18 UTC
svn commit: r1039388 -
/subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c
Author: hwright
Date: Fri Nov 26 14:40:18 2010
New Revision: 1039388
URL: http://svn.apache.org/viewvc?rev=1039388&view=rev
Log:
Remove an implicit conversion warning.
* subversion/tests/libsvn_wc/op-depth-test.c
(count_rows): Return a 64-bit int.
(base_dir_insert_remove): Capture the 64-bit return value.
Modified:
subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c
Modified: subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c?rev=1039388&r1=1039387&r2=1039388&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c Fri Nov 26 14:40:18 2010
@@ -1203,7 +1203,7 @@ insert_dirs(wc_baton_t *b,
return SVN_NO_ERROR;
}
-static int count_rows(nodes_row_t *rows)
+static apr_int64_t count_rows(nodes_row_t *rows)
{
nodes_row_t *first = rows;
while(rows->local_relpath)
@@ -1221,7 +1221,8 @@ base_dir_insert_remove(wc_baton_t *b,
nodes_row_t *after;
const char *dir_abspath = svn_path_join(b->wc_abspath, local_relpath,
b->pool);
- int i, num_before = count_rows(before), num_added = count_rows(added);
+ int i;
+ apr_int64_t num_before = count_rows(before), num_added = count_rows(added);
SVN_ERR(insert_dirs(b, before));