mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
b84a4ec2b9
Resolves a build failure on the loong64 architecture caused by a narrowing conversion error. The compiler, with the -Werror=narrowing flag, was flagging the implicit conversion from 'int' (the return type of to_bitmask()) to 'uint64_t'. This is fixed by adding an explicit static_cast to uint64_t in include/simdjson/lsx/stringparsing_defs.h. Signed-off-by: Zhou Qiankang <wszqkzqk@qq.com>