subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1471706 - /subversion/trunk/subversion/tests/libsvn_fs_fs/fs-pack-test.c
Date Wed, 24 Apr 2013 21:45:00 GMT
Author: danielsh
Date: Wed Apr 24 21:44:51 2013
New Revision: 1471706

URL: http://svn.apache.org/r1471706
Log:
Micro-tweak to a cast.

* subversion/tests/libsvn_fs_fs/fs-pack-test.c
  (test_info): Don't cast away const.  Both sides of the assignment
    are pointers-to-const.

Modified:
    subversion/trunk/subversion/tests/libsvn_fs_fs/fs-pack-test.c

Modified: subversion/trunk/subversion/tests/libsvn_fs_fs/fs-pack-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_fs_fs/fs-pack-test.c?rev=1471706&r1=1471705&r2=1471706&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_fs_fs/fs-pack-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_fs_fs/fs-pack-test.c Wed Apr 24 21:44:51 2013
@@ -812,7 +812,7 @@ test_info(const svn_test_opts_t *opts,
   if (strcmp(opts->fs_type, "fsfs") != 0)
     return SVN_NO_ERROR;
 
-  fsfs_info = (void *)info;
+  fsfs_info = (const void *)info;
   if (opts->server_minor_version && (opts->server_minor_version < 6))
     {
       SVN_TEST_ASSERT(fsfs_info->shard_size == 0);



Mime
View raw message