[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28469] trunk/blender/intern/guardedalloc/ intern/mallocn.c: Make len portable ( as best as can tested with a 32 bit machine).
gsr b3d
gsr.b3d at infernal-iceberg.com
Tue Apr 27 20:21:49 CEST 2010
Revision: 28469
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28469
Author: gsrb3d
Date: 2010-04-27 20:21:49 +0200 (Tue, 27 Apr 2010)
Log Message:
-----------
Make len portable (as best as can tested with a 32 bit machine).
Modified Paths:
--------------
trunk/blender/intern/guardedalloc/intern/mallocn.c
Modified: trunk/blender/intern/guardedalloc/intern/mallocn.c
===================================================================
--- trunk/blender/intern/guardedalloc/intern/mallocn.c 2010-04-27 18:21:38 UTC (rev 28468)
+++ trunk/blender/intern/guardedalloc/intern/mallocn.c 2010-04-27 18:21:49 UTC (rev 28469)
@@ -82,7 +82,11 @@
/* note: keep this struct aligned (e.g., irix/gcc) - Hos */
typedef struct MemHead {
int tag1;
- unsigned int len;
+#if defined(WIN64)
+ unsigned long long len;
+#else
+ unsigned long len;
+#endif
struct MemHead *next,*prev;
const char * name;
const char * nextname;
More information about the Bf-blender-cvs
mailing list