[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24267] branches/bmesh/blender/source/ blender/blenlib/BLI_ghash.h: anothre compile fix

Joseph Eagar joeedh at gmail.com
Tue Nov 3 06:07:13 CET 2009


Revision: 24267
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24267
Author:   joeedh
Date:     2009-11-03 06:07:12 +0100 (Tue, 03 Nov 2009)

Log Message:
-----------
anothre compile fix

Modified Paths:
--------------
    branches/bmesh/blender/source/blender/blenlib/BLI_ghash.h

Modified: branches/bmesh/blender/source/blender/blenlib/BLI_ghash.h
===================================================================
--- branches/bmesh/blender/source/blender/blenlib/BLI_ghash.h	2009-11-03 05:06:04 UTC (rev 24266)
+++ branches/bmesh/blender/source/blender/blenlib/BLI_ghash.h	2009-11-03 05:07:12 UTC (rev 24267)
@@ -190,7 +190,7 @@
 		int i, nold= gh->nbuckets;
 		
 		gh->nbuckets= hashsizes[++gh->cursize];
-		gh->buckets= malloc(gh->nbuckets*sizeof(*gh->buckets));
+		gh->buckets= (Entry**)malloc(gh->nbuckets*sizeof(*gh->buckets));
 		memset(gh->buckets, 0, gh->nbuckets*sizeof(*gh->buckets));
 		
 		for (i=0; i<nold; i++) {





More information about the Bf-blender-cvs mailing list