[harfrust] Fix compile with clang

This commit is contained in:
Behdad Esfahbod committed 2025-08-21 19:38:10 -06:00
1 parent 5fddacc158
commit 7ba05752c6
1 file changed
+1 -1
+1 -1
View File
@@ -177,7 +177,7 @@ retry_buffer:
}
// Encode buffer context as UTF-8, so that HarfRust can use it.
const int CONTEXT_BYTE_SIZE = 4 * buffer->CONTEXT_LENGTH;
constexpr int CONTEXT_BYTE_SIZE = 4 * hb_buffer_t::CONTEXT_LENGTH;
uint8_t context[2][CONTEXT_BYTE_SIZE];
unsigned context_len[2] = { 0, 0 };
for (unsigned i = 0; i < 2; i++)