summaryrefslogtreecommitdiffstats
path: root/src/ipmiblob/blob_handler.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-05-20 19:11:04 -0700
committerPatrick Venture <venture@google.com>2019-05-20 19:24:10 -0700
commit444746495ad3f951cb093c7144b7cb9218b8599f (patch)
tree2ae893be5a4ad67f04ffb9f87170aefe8b1e0677 /src/ipmiblob/blob_handler.cpp
parent99400c82a40d334cab04100a58a6b0aa74c21b0b (diff)
downloadipmi-blob-tool-444746495ad3f951cb093c7144b7cb9218b8599f.tar.gz
ipmi-blob-tool-444746495ad3f951cb093c7144b7cb9218b8599f.zip
move blob command enum to blob_interface header
Move the blob command enum to the blob_interface header that can be safely included by other code. Change-Id: If7c613cac9bdd460fc9a6cb3b59e4fc0dd3a861d Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'src/ipmiblob/blob_handler.cpp')
-rw-r--r--src/ipmiblob/blob_handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipmiblob/blob_handler.cpp b/src/ipmiblob/blob_handler.cpp
index 2b79e19..039b7e0 100644
--- a/src/ipmiblob/blob_handler.cpp
+++ b/src/ipmiblob/blob_handler.cpp
@@ -48,7 +48,7 @@ std::vector<std::uint8_t>
std::copy(ipmiPhosphorOen.begin(), ipmiPhosphorOen.end(),
std::back_inserter(request));
- request.push_back(command);
+ request.push_back(static_cast<std::uint8_t>(command));
if (payload.size() > 0)
{
OpenPOWER on IntegriCloud