Commit 97e2f7f1 authored by Milo Yip's avatar Milo Yip

Try fixing Error compilation Ubuntu 14.04 #834

parent 7f753fe7
...@@ -880,7 +880,7 @@ public: ...@@ -880,7 +880,7 @@ public:
#define RAPIDJSON_STRING_(name, ...) \ #define RAPIDJSON_STRING_(name, ...) \
static const ValueType& Get##name##String() {\ static const ValueType& Get##name##String() {\
static const Ch s[] = { __VA_ARGS__, '\0' };\ static const Ch s[] = { __VA_ARGS__, '\0' };\
static const ValueType v(s, sizeof(s) / sizeof(Ch) - 1);\ static const ValueType v(s, static_cast<SizeType>(sizeof(s) / sizeof(Ch) - 1));\
return v;\ return v;\
} }
......
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