We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55ffa44 commit 6d59307Copy full SHA for 6d59307
benchmark/benchmark-lsp/benchmark-config.cpp
@@ -389,7 +389,8 @@ Benchmark_Config Benchmark_Config::load() {
389
if (parser
390
.parse(reinterpret_cast<const char*>(
391
package_json_content->data()),
392
- package_json_content->size())
+ narrow_cast<std::size_t>(
393
+ package_json_content->size()))
394
.get(root) != ::simdjson::SUCCESS) {
395
std::fprintf(stderr, "error: %s: parsing JSON failed\n",
396
package_json_path);
0 commit comments