Make it actually work

This commit is contained in:
Alex Hultman
2022-10-30 21:36:34 +01:00
parent d76e2362d8
commit cca4610d5d
+3 -1
View File
@@ -226,7 +226,9 @@ private:
static inline void *consumeFieldName(char *p) {
for (; true; p += 8) {
if (notFieldNameWord(*(uint64_t *)p)) {
while (isFieldNameByte(*(unsigned char *)p)) p++;
while (isFieldNameByte(*(unsigned char *)p)) {
*(p++) |= 0x20;
}
return (void *)p;
}
(*(uint64_t *)p) |= 0x2020202020202020ull;