fix open source build failure by switching C's _Alignof for C++'s alignof
PiperOrigin-RevId: 568400917 Change-Id: I90eff5e149d491f181370d72e43fdee9d4a3a20e
This commit is contained in:
committed by
Copybara-Service
parent
ff4158efff
commit
0dfeedb320
@@ -784,7 +784,7 @@ void* TestFunction(void* args) {
|
||||
test_args->stack_output = test_ints[0];
|
||||
|
||||
int* test_arena_ints =
|
||||
(int*)mj_arenaAllocByte(test_args->d, sizeof(int) * 10, _Alignof(int));
|
||||
(int*)mj_arenaAllocByte(test_args->d, sizeof(int) * 10, alignof(int));
|
||||
test_arena_ints[0] = test_args->input;
|
||||
test_args->arena_output = test_arena_ints[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user