Commit 02a67307 authored by Sergei Petrunia's avatar Sergei Petrunia

Fix compiation on windows

parent 3486bf41
...@@ -357,7 +357,7 @@ class Histogram_binary : public Histogram_base ...@@ -357,7 +357,7 @@ class Histogram_binary : public Histogram_base
class Histogram_json : public Histogram_base class Histogram_json : public Histogram_base
{ {
private: private:
uint8 size; /* Number of elements in the histogram */ size_t size; /* Number of elements in the histogram */
/* Collection-time only: collected histogram in the JSON form. */ /* Collection-time only: collected histogram in the JSON form. */
std::string json_text; std::string json_text;
...@@ -376,7 +376,7 @@ class Histogram_json : public Histogram_base ...@@ -376,7 +376,7 @@ class Histogram_json : public Histogram_base
// returns number of buckets in the histogram // returns number of buckets in the histogram
uint get_width() override uint get_width() override
{ {
return size; return (uint)size;
} }
Histogram_type get_type() override Histogram_type get_type() override
......
Markdown is supported
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