Cleanup: fix warning

This commit is contained in:
Jacques Lucke 2022-12-15 17:30:40 +01:00 committed by Hans Goudey
parent e50d567c97
commit 8848cfdf4b
1 changed files with 1 additions and 1 deletions

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