Skip to content

Commit

Permalink
Try fixing Error compilation Ubuntu 14.04 #834
Browse files Browse the repository at this point in the history
  • Loading branch information
miloyip committed Feb 28, 2017
1 parent 7f753fe commit 97e2f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rapidjson/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ class Schema {
#define RAPIDJSON_STRING_(name, ...) \
static const ValueType& Get##name##String() {\
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;\
}

Expand Down

0 comments on commit 97e2f7f

Please sign in to comment.