diff options
-rw-r--r-- | source/blender/draw/intern/draw_manager.h | 3 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_depsgraph.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager.h b/source/blender/draw/intern/draw_manager.h index 709116c78e5..ce8155dc85f 100644 --- a/source/blender/draw/intern/draw_manager.h +++ b/source/blender/draw/intern/draw_manager.h @@ -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 ------------ */ diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c index 2072b07ecb3..b45b1117c2e 100644 --- a/source/blender/makesrna/intern/rna_depsgraph.c +++ b/source/blender/makesrna/intern/rna_depsgraph.c @@ -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); |