Browse Source

Json: Remove redundant width specifier to silence compiler warning

master
Riyyi 2 years ago
parent
commit
7093b5ad3d
  1. 2
      src/ruc/json/parser.cpp

2
src/ruc/json/parser.cpp

@ -266,7 +266,7 @@ Value Parser::consumeString()
break;
default:
char buffer[7];
sprintf(buffer, "\\u%0.4X", character);
sprintf(buffer, "\\u%.4X", character);
return std::string(buffer);
break;
}

Loading…
Cancel
Save