subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1575374 - /subversion/trunk/subversion/libsvn_fs_x/string_table.c
Date Fri, 07 Mar 2014 19:07:32 GMT
Author: breser
Date: Fri Mar  7 19:07:31 2014
New Revision: 1575374

URL: http://svn.apache.org/r1575374
Log:
Fix a compiler warning.

* subversion/libsvn_fs_x/string_table.c
  (svn_fs_x__string_table_builder_add): Remove an unnecessary cast, both sides
    of the assignment are int.

Modified:
    subversion/trunk/subversion/libsvn_fs_x/string_table.c

Modified: subversion/trunk/subversion/libsvn_fs_x/string_table.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/string_table.c?rev=1575374&r1=1575373&r2=1575374&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/string_table.c (original)
+++ subversion/trunk/subversion/libsvn_fs_x/string_table.c Fri Mar  7 19:07:31 2014
@@ -319,7 +319,7 @@ svn_fs_x__string_table_builder_add(strin
           || table->max_data_size < len)
         table = add_table(builder);
 
-      item->position = (apr_size_t)table->short_strings->nelts;
+      item->position = table->short_strings->nelts;
       APR_ARRAY_PUSH(table->short_strings, builder_string_t *) = item;
 
       if (table->top == NULL)



Mime
View raw message