Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2010-04-27 22:21:49 +0400
committerGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2010-04-27 22:21:49 +0400
commitd6b71243c25f404e36cc81a10fddab597f51aeba (patch)
tree2643f513fe6ba459eb8aa273eec1b608fc0bbeac /intern/guardedalloc
parentc80d0f1f8547b4b39f7aeb1b67f141cc3faedb97 (diff)
Make len portable (as best as can tested with a 32 bit machine).
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r--intern/guardedalloc/intern/mallocn.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/intern/guardedalloc/intern/mallocn.c b/intern/guardedalloc/intern/mallocn.c
index 624687735dc..78ae7f07019 100644
--- a/intern/guardedalloc/intern/mallocn.c
+++ b/intern/guardedalloc/intern/mallocn.c
@@ -82,7 +82,11 @@ typedef struct localListBase
/* 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;