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; break;
default: default:
char buffer[7]; char buffer[7];
sprintf(buffer, "\\u%0.4X", character); sprintf(buffer, "\\u%.4X", character);
return std::string(buffer); return std::string(buffer);
break; break;
} }

Loading…
Cancel
Save