From 12c70fb4cf17ab6a6d7a246eb210e88f54546b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sun, 31 Mar 2019 08:39:22 +0200 Subject: [PATCH] [UDFS] Really use 'logical or' when meant to 'binary or' was also working, but it is less clear. --- drivers/filesystems/udfs/Include/wcache_lib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/filesystems/udfs/Include/wcache_lib.cpp b/drivers/filesystems/udfs/Include/wcache_lib.cpp index b00dc50357d..e23ae295dec 100644 --- a/drivers/filesystems/udfs/Include/wcache_lib.cpp +++ b/drivers/filesystems/udfs/Include/wcache_lib.cpp @@ -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