You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2011/05/10 21:49:45 UTC

svn commit: r1101616 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

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
    */