Fix building on 32bit systems

This commit is contained in:
Campbell Barton 2019-11-18 16:25:59 +11:00
parent eba4a4bd73
commit 321afe0cd6
2 changed files with 4 additions and 1 deletions

View File

@ -409,7 +409,10 @@ typedef struct DRWCommandSmallChunk {
DRWCommand commands[6];
} DRWCommandSmallChunk;
/* Only true for 64-bit platforms. */
#ifdef __LP64__
BLI_STATIC_ASSERT_ALIGN(DRWCommandChunk, 16);
#endif
/* ------------- DRAW DEBUG ------------ */

View File

@ -255,7 +255,7 @@ static void rna_Depsgraph_debug_stats(Depsgraph *depsgraph, char *result)
DEG_stats_simple(depsgraph, &outer, &ops, &rels);
BLI_snprintf(result,
STATS_MAX_SIZE,
"Approx %lu Operations, %lu Relations, %lu Outer Nodes",
"Approx %zu Operations, %zu Relations, %zu Outer Nodes",
ops,
rels,
outer);