From 4e0492e3bc59a4adca8ea5075a96bc78cd6bb67a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 28 May 2012 21:25:17 +0000 Subject: [PATCH] fix compiler error --- source/blender/blenkernel/intern/customdata.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c index 3802d532c5b..5dc50dca45a 100644 --- a/source/blender/blenkernel/intern/customdata.c +++ b/source/blender/blenkernel/intern/customdata.c @@ -1197,10 +1197,11 @@ void customData_mask_layers__print(CustomDataMask mask) { int i; - printf("mask=0x%lx:\n", mask); + printf("mask=0x%lx:\n", (long unsigned int)mask); for (i = 0; i < CD_NUMTYPES; i++) { - if (mask & CD_TYPE_AS_MASK(i)) + if (mask & CD_TYPE_AS_MASK(i)) { printf(" %s\n", layerType_getName(i)); + } } }