subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1703069 - /subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c
Date Mon, 14 Sep 2015 21:58:04 GMT
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)



Mime
View raw message