fix CI error

This commit is contained in:
Qianqian Fang 2022-05-08 18:34:12 -04:00
parent 774d737fbe
commit 140732489e
2 changed files with 2 additions and 2 deletions

View File

@ -2430,7 +2430,7 @@ class binary_reader
{'m', "uint32"}, {'l', "int32"}, {'M', "uint64"}, {'L', "int64"}, {'d', "single"}, {'D', "double"}, {'C', "char"}
};
size_and_type.second &= ~(256);
size_and_type.second -= 256;
string_t key = "_ArrayType_";
if (JSON_HEDLEY_UNLIKELY(bjdtype.count(size_and_type.second) == 0 || !sax->key(key) || !sax->string(bjdtype[size_and_type.second]) ))

View File

@ -10904,7 +10904,7 @@ class binary_reader
{'m', "uint32"}, {'l', "int32"}, {'M', "uint64"}, {'L', "int64"}, {'d', "single"}, {'D', "double"}, {'C', "char"}
};
size_and_type.second &= ~(256);
size_and_type.second -= 256;
string_t key = "_ArrayType_";
if (JSON_HEDLEY_UNLIKELY(bjdtype.count(size_and_type.second) == 0 || !sax->key(key) || !sax->string(bjdtype[size_and_type.second]) ))