mac cares a lot

This commit is contained in:
rusefillc 2022-05-15 23:16:07 -04:00
parent ff8afa7980
commit f440e7f4a2
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 // we know that 'engineConfiguration' was null at the time of initialization in unit tests
#if EFI_UNIT_TEST #if EFI_UNIT_TEST
intptr_t offset = (intptr_t)ptr; intptr_t offset = (intptr_t)ptr;
void * valuePtr = (void *)(char *)engineConfiguration + offset; void * valuePtr = (void *)((char *)engineConfiguration + offset);
return valuePtr; return valuePtr;
#else #else
return ptr; return ptr;