You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2015/09/14 23:58:04 UTC

svn commit: r1703069 - /subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c

Author: julianfoad
Date: Mon Sep 14 21:58:04 2015
New Revision: 1703069

URL: http://svn.apache.org/r1703069
Log:
* subversion/libsvn_fs_fs/temp_serializer.c
  (svn_fs_fs__serialize_properties): Use the correct pointer type in a
    sizeof() expression, for theoretical correctness; makes no difference in
    practice.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c?rev=1703069&r1=1703068&r2=1703069&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c Mon Sep 14 21:58:04 2015
@@ -599,7 +599,7 @@ svn_fs_fs__serialize_properties(void **d
   /* create our auxiliary data structure */
   properties.count = apr_hash_count(hash);
   properties.keys = apr_palloc(pool, sizeof(const char*) * (properties.count + 1));
-  properties.values = apr_palloc(pool, sizeof(const char*) * properties.count);
+  properties.values = apr_palloc(pool, sizeof(const svn_string_t *) * properties.count);
 
   /* populate it with the hash entries */
   for (hi = apr_hash_first(pool, hash), i=0; hi; hi = apr_hash_next(hi), ++i)