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:
authorCampbell Barton <ideasman42@gmail.com>2010-04-28 12:15:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-04-28 12:15:26 +0400
commitc757c66f92e5bfacb4c3907fe0b667a41b8625a3 (patch)
treeeb50058bc1c3fad1a256724391708d64822b5c12 /intern/guardedalloc/intern/mallocn.c
parent5982662e231c17d9779b4fb67c48beb8aea2baab (diff)
reverting 28469, there is no use in using a long, while the allocation functions only accepts an int.
- only wastes 4 bytes per alloc. Also would be most correct to use size_t
Diffstat (limited to 'intern/guardedalloc/intern/mallocn.c')
-rw-r--r--intern/guardedalloc/intern/mallocn.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/intern/guardedalloc/intern/mallocn.c b/intern/guardedalloc/intern/mallocn.c
index 78ae7f07019..624687735dc 100644
--- a/intern/guardedalloc/intern/mallocn.c
+++ b/intern/guardedalloc/intern/mallocn.c
@@ -82,11 +82,7 @@ typedef struct localListBase
/* note: keep this struct aligned (e.g., irix/gcc) - Hos */
typedef struct MemHead {
int tag1;
-#if defined(WIN64)
- unsigned long long len;
-#else
- unsigned long len;
-#endif
+ unsigned int len;
struct MemHead *next,*prev;
const char * name;
const char * nextname;