subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1101616 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c
Date Tue, 10 May 2011 19:49:45 GMT
Author: stefan2
Date: Tue May 10 19:49:45 2011
New Revision: 1101616

URL: http://svn.apache.org/viewvc?rev=1101616&view=rev
Log:
See also: http://svn.haxx.se/dev/archive-2011-05/0243.shtml

* subversion/libsvn_subr/cache-membuffer.c
  (svn_cache__membuffer_cache_create): remove unnecessary cast

Modified:
    subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

Modified: subversion/trunk/subversion/libsvn_subr/cache-membuffer.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/cache-membuffer.c?rev=1101616&r1=1101615&r2=1101616&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/cache-membuffer.c (original)
+++ subversion/trunk/subversion/libsvn_subr/cache-membuffer.c Tue May 10 19:49:45 2011
@@ -931,7 +931,7 @@ svn_cache__membuffer_cache_create(svn_me
   segment_count = 1 << segment_count_shift;
 
   /* allocate cache as an array of segments / cache objects */
-  c = (svn_membuffer_t *)apr_palloc(pool, segment_count * sizeof(*c));
+  c = apr_palloc(pool, segment_count * sizeof(*c));
 
   /* Split total cache size into segments of equal size
    */



Mime
View raw message