Commit efab15fe authored by Morten Ofstad's avatar Morten Ofstad
Browse files

Fixed some warnings.

parent 00f1bae9
......@@ -39,8 +39,9 @@
namespace OpenVDS
{
struct LayerMetadataContainer
class LayerMetadataContainer
{
public:
std::mutex mutex;
std::map<std::string, std::unique_ptr<MetadataManager>> managers;
};
......
......@@ -51,7 +51,7 @@ public:
{
if (key == "vds-chunk-metadata")
{
if (!Base64Decode(header.data(), header.size(), m_metadata))
if (!Base64Decode(header.data(), (int)header.size(), m_metadata))
{
m_error.code = -1;
m_error.string = "Failed to decode chunk metadata";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment