Convert CowOperationType into strongly typed enums am: c6be9171dc

Original change: https://android-review.googlesource.com/c/platform/system/update_engine/+/2850925

Change-Id: Iaec7261920d12716a48179ab5b52d61368057e11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/common/cow_operation_convert.h b/common/cow_operation_convert.h
index a260a4a..5e29fc2 100644
--- a/common/cow_operation_convert.h
+++ b/common/cow_operation_convert.h
@@ -26,8 +26,8 @@
 namespace chromeos_update_engine {
 struct CowOperation {
   enum Type {
-    CowCopy = android::snapshot::kCowCopyOp,
-    CowReplace = android::snapshot::kCowReplaceOp,
+    CowCopy = static_cast<int>(android::snapshot::kCowCopyOp),
+    CowReplace = static_cast<int>(android::snapshot::kCowReplaceOp),
   };
   Type op{};
   uint64_t src_block{};