Cleanup: fix warning

This commit is contained in:
2022-12-15 17:30:40 +01:00
parent 970f4c2f9f
commit 6546113f1e

View File

@@ -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;
}
}