diff --git a/src/cmd_handler.cc b/src/cmd_handler.cc index 12cf591..6b160d8 100644 --- a/src/cmd_handler.cc +++ b/src/cmd_handler.cc @@ -291,7 +291,7 @@ std::string CmdHandler::hDumpKv(DBWrap* target_dbw, ss << "[" << count << "]" << std::endl; ss << "key: " << HexDump::toString(rec_out.kv.key) << std::endl; ss << "sequence number: " << rec_out.seqNum << std::endl; - ss << "type: " << rec_out.type << std::endl; + ss << "type: " << (int)rec_out.type << std::endl; ss << "meta: " << HexDump::toString(rec_out.meta) << std::endl; if (tokens[0] == "getmeta") { ss << "value: " << rec_out.kv.value.size << " bytes" << std::endl;