fix toJSON function and some VS warnings

This commit is contained in:
Alex Fabijanic
2018-02-08 19:23:15 -06:00
parent fbd229ee4a
commit fac2437fab
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ namespace JSON {
void Stringifier::stringify(const Var& any, std::ostream& out, unsigned int indent, int step, int options)
{
bool escapeUnicode = options & Poco::JSON_ESCAPE_UNICODE;
bool escapeUnicode = ((options & Poco::JSON_ESCAPE_UNICODE) != 0);
if (step == -1) step = indent;