diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-18 07:27:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-18 07:27:39 +0300 |
commit | 5f0d4fef91148f3dfb9f962d77c809a293a76ad3 (patch) | |
tree | 35f992922c9350384a15ace877cb274c2ca7cb6b /source | |
parent | 68b06208d2dcf4ef218e0a139a50cdb6eae35ad2 (diff) |
Cleanup: use standard identifier for uint64_t string formatting
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/customdata.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c index 710dfdaf137..ccf002b4c6f 100644 --- a/source/blender/blenkernel/intern/customdata.c +++ b/source/blender/blenkernel/intern/customdata.c @@ -2020,35 +2020,35 @@ static const char *layerType_getName(int type) void customData_mask_layers__print(const CustomData_MeshMasks *mask) { - printf("verts mask=0x%lx:\n", (long unsigned int)mask->vmask); + printf("verts mask=0x%" PRIx64 ":\n", mask->vmask); for (int i = 0; i < CD_NUMTYPES; i++) { if (mask->vmask & CD_TYPE_AS_MASK(i)) { printf(" %s\n", layerType_getName(i)); } } - printf("edges mask=0x%lx:\n", (long unsigned int)mask->emask); + printf("edges mask=0x%" PRIx64 ":\n", mask->emask); for (int i = 0; i < CD_NUMTYPES; i++) { if (mask->emask & CD_TYPE_AS_MASK(i)) { printf(" %s\n", layerType_getName(i)); } } - printf("faces mask=0x%lx:\n", (long unsigned int)mask->fmask); + printf("faces mask=0x%" PRIx64 ":\n", mask->fmask); for (int i = 0; i < CD_NUMTYPES; i++) { if (mask->fmask & CD_TYPE_AS_MASK(i)) { printf(" %s\n", layerType_getName(i)); } } - printf("loops mask=0x%lx:\n", (long unsigned int)mask->lmask); + printf("loops mask=0x%" PRIx64 ":\n", mask->lmask); for (int i = 0; i < CD_NUMTYPES; i++) { if (mask->lmask & CD_TYPE_AS_MASK(i)) { printf(" %s\n", layerType_getName(i)); } } - printf("polys mask=0x%lx:\n", (long unsigned int)mask->pmask); + printf("polys mask=0x%" PRIx64 ":\n", mask->pmask); for (int i = 0; i < CD_NUMTYPES; i++) { if (mask->pmask & CD_TYPE_AS_MASK(i)) { printf(" %s\n", layerType_getName(i)); |