fix for DNA alignment on 32 and 64bit systems.

This commit is contained in:
Campbell Barton
2012-11-12 09:27:39 +00:00
parent d0570c3e39
commit fbc61c96d6

View File

@@ -50,8 +50,8 @@ typedef struct bGPDspoint {
*/ */
typedef struct bGPDstroke { typedef struct bGPDstroke {
struct bGPDstroke *next, *prev; struct bGPDstroke *next, *prev;
bGPDspoint *points; /* array of data-points for stroke */ bGPDspoint *points; /* array of data-points for stroke */
void *pad; /* keep 4 pointers at the beginning, padding for 'inittime' is tricky 64/32bit */
int totpoints; /* number of data-points in array */ int totpoints; /* number of data-points in array */
short thickness; /* thickness of stroke (currently not used) */ short thickness; /* thickness of stroke (currently not used) */