diff options
author | Patrick Venture <venture@google.com> | 2019-05-20 19:11:04 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2019-05-20 19:24:10 -0700 |
commit | 444746495ad3f951cb093c7144b7cb9218b8599f (patch) | |
tree | 2ae893be5a4ad67f04ffb9f87170aefe8b1e0677 /src/ipmiblob/blob_handler.cpp | |
parent | 99400c82a40d334cab04100a58a6b0aa74c21b0b (diff) | |
download | ipmi-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.cpp | 2 |
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) { |