Fix build error 85/158585/2
authorJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 2 Nov 2017 02:46:36 +0000 (11:46 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 2 Nov 2017 03:06:43 +0000 (03:06 +0000)
Add static casting to remove build error

Change-Id: I74bf8378f611f2c79b94af260b481146f1916e77
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/step/recovery/step_open_recovery_file.cc

index aa3a58b..df38c6b 100644 (file)
@@ -40,7 +40,7 @@ Step::Status StepOpenRecoveryFile::process() {
     break;
   default:
     LOG(ERROR) << context_->file_path.get() << " is unknown recovery type ("
-               << recovery_file->type() << ")";
+               << static_cast<int>(recovery_file->type()) << ")";
     return Status::RECOVERY_ERROR;
   }