subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1124195 - /subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c
Date Wed, 18 May 2011 11:28:15 GMT
Author: hwright
Date: Wed May 18 11:28:15 2011
New Revision: 1124195

URL: http://svn.apache.org/viewvc?rev=1124195&view=rev
Log:
* subversion/libsvn_fs_fs/temp_serializer.c
  (svn_fs_fs__deserialize_manifest): A few manual casts to silence errors.

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=1124195&r1=1124194&r2=1124195&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c Wed May 18 11:28:15 2011
@@ -570,8 +570,8 @@ svn_fs_fs__deserialize_manifest(void **o
 {
   apr_array_header_t *manifest = apr_array_make(pool, 1, sizeof(apr_off_t));
 
-  manifest->nelts = data_len / sizeof(apr_off_t);
-  manifest->nalloc = data_len / sizeof(apr_off_t);
+  manifest->nelts = (int) (data_len / sizeof(apr_off_t));
+  manifest->nalloc = (int) (data_len / sizeof(apr_off_t));
   manifest->elts = (char*)data;
 
   *out = manifest;



Mime
View raw message