diff --git a/include/simdjson/jsonparser.h b/include/simdjson/jsonparser.h index 249a04089..4c0cf71f6 100644 --- a/include/simdjson/jsonparser.h +++ b/include/simdjson/jsonparser.h @@ -48,7 +48,7 @@ int json_parse_implementation(const uint8_t *buf, size_t len, ParsedJson &pj, bo #else // SIMDJSON_SAFE_SAME_PAGE_READ_OVERRUN if(true) { // if not SIMDJSON_SAFE_SAME_PAGE_READ_OVERRUN, we always reallocate #endif - const uint8_t *tmpbuf = buf; + const uint8_t *tmpbuf = buf; buf = (uint8_t *) allocate_padded_buffer(len); if(buf == NULL) return simdjson::MEMALLOC; memcpy((void*)buf,tmpbuf,len); @@ -199,4 +199,4 @@ inline ParsedJson build_parsed_json(const padded_string &s) { -#endif \ No newline at end of file +#endif