[Bf-blender-cvs] [6546113f1ed] master: Cleanup: fix warning
Jacques Lucke
noreply at git.blender.org
Thu Dec 15 17:31:27 CET 2022
Commit: 6546113f1ed237029a1c37502908d31cc39f9e87
Author: Jacques Lucke
Date: Thu Dec 15 17:30:40 2022 +0100
Branches: master
https://developer.blender.org/rB6546113f1ed237029a1c37502908d31cc39f9e87
Cleanup: fix warning
===================================================================
M source/blender/blenkernel/intern/mesh.cc
===================================================================
diff --git a/source/blender/blenkernel/intern/mesh.cc b/source/blender/blenkernel/intern/mesh.cc
index 77ef4674596..16858a70a0c 100644
--- a/source/blender/blenkernel/intern/mesh.cc
+++ b/source/blender/blenkernel/intern/mesh.cc
@@ -725,7 +725,7 @@ static int customdata_compare(
}
}
if (!found_corresponding_layer) {
- if ((1 << l1->type) & CD_MASK_PROP_ALL) {
+ if ((uint64_t(1) << l1->type) & CD_MASK_PROP_ALL) {
return MESHCMP_CDLAYERS_MISMATCH;
}
}
More information about the Bf-blender-cvs
mailing list