helping mac / legit fix?

This commit is contained in:
rusefi 2022-05-15 21:53:07 -04:00
parent 3da1457f99
commit ff8afa7980
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ void * hackEngineConfigurationPointer(void *ptr) {
// we know that 'engineConfiguration' was null at the time of initialization in unit tests
#if EFI_UNIT_TEST
intptr_t offset = (intptr_t)ptr;
void * valuePtr = (void *)engineConfiguration + offset;
void * valuePtr = (void *)(char *)engineConfiguration + offset;
return valuePtr;
#else
return ptr;