[UDFS] Really use 'logical or' when meant to

'binary or' was also working, but it is less clear.
This commit is contained in:
Hervé Poussineau 2019-03-31 08:39:22 +02:00
parent 76910c358f
commit 12c70fb4cf

View file

@ -1113,7 +1113,7 @@ WCacheUpdatePacket(
// If we didn't read packet from media, we can't
// perform comparison to assure that packet was really modified.
// Thus, assume that it is modified in this case.
mod = !read | Cache->DoNotCompare;
mod = !read || Cache->DoNotCompare;
Lba0 = Lba - firstLba;
for(i=0; i<PSs; i++, Lba0++) {
if( WCacheGetModFlag(block_array, Lba0) ||