Use int64_t instead of long for int64 TypedArray (#97)

Fixes compile issues on macOS / clang.
This commit is contained in:
Lukas Tenbrink
2024-12-03 15:37:08 +01:00
committed by GitHub
parent 055086b778
commit 31c952684a

View File

@@ -38,7 +38,7 @@ void CPPBenchmarkArray::benchmark_int32_array() {
}
void CPPBenchmarkArray::benchmark_int64_array() {
TypedArray<long> array;
TypedArray<int64_t> array;
for(int i = 0; i < iterations; i++)
array.push_back(i);