subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1562512 - /subversion/branches/fsfs-ucsnorm/subversion/libsvn_fs_fs/temp_serializer.c
Date Wed, 29 Jan 2014 17:15:09 GMT
Author: brane
Date: Wed Jan 29 17:15:09 2014
New Revision: 1562512

URL: http://svn.apache.org/r1562512
Log:
On the fsfs-ucsnorm branch: match the style of tons of horible casts in
the serializer to silence a compiler warning.

* subversion/libsvn_fs_fs/temp_serializer.c (serialize_dir_entry):
   Typecast the C-string argument to svn_temp_serializer__set_null.

Modified:
    subversion/branches/fsfs-ucsnorm/subversion/libsvn_fs_fs/temp_serializer.c

Modified: subversion/branches/fsfs-ucsnorm/subversion/libsvn_fs_fs/temp_serializer.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-ucsnorm/subversion/libsvn_fs_fs/temp_serializer.c?rev=1562512&r1=1562511&r2=1562512&view=diff
==============================================================================
--- subversion/branches/fsfs-ucsnorm/subversion/libsvn_fs_fs/temp_serializer.c (original)
+++ subversion/branches/fsfs-ucsnorm/subversion/libsvn_fs_fs/temp_serializer.c Wed Jan 29
17:15:09 2014
@@ -197,7 +197,7 @@ serialize_dir_entry(svn_temp_serializer_
   if (entry->key != entry->dirent.name)
     svn_temp_serializer__add_string(context, &entry->key);
   else
-    svn_temp_serializer__set_null(context, &entry->key);
+    svn_temp_serializer__set_null(context, (const void *const *)&entry->key);
 
   *length = (apr_uint32_t)(  svn_temp_serializer__get_length(context)
                            - APR_ALIGN_DEFAULT(initial_length));



Mime
View raw message