Fix for bug #3414 provided by Lewis Saunders.
It appears that removing the 'int level' field from the MemHead struct caused alignment issues for gcc builds of blender on Irix (zr, who removed this field, commented that this problem might occur, and sure enough it did happen). I've renamed the field from 'level' to 'pad' to reflect that it has no meaning beyond addressing alignment issues.
This commit is contained in:
parent
f0593ea8e8
commit
b44ba190d2
@ -66,8 +66,8 @@ typedef struct MemHead {
|
||||
struct MemHead *next,*prev;
|
||||
char * name;
|
||||
char * nextname;
|
||||
/* int level; */ /* historical, can be removed, but check alignment issues - zr */
|
||||
int tag2;
|
||||
int pad; /* keep this in, due to alignment issues (e.g., irix/gcc) - Hos */
|
||||
} MemHead;
|
||||
|
||||
typedef struct MemTail {
|
||||
|
Loading…
Reference in New Issue
Block a user