helping mac / legit fix?
This commit is contained in:
parent
3da1457f99
commit
ff8afa7980
|
@ -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 *)engineConfiguration + offset;
|
void * valuePtr = (void *)(char *)engineConfiguration + offset;
|
||||||
return valuePtr;
|
return valuePtr;
|
||||||
#else
|
#else
|
||||||
return ptr;
|
return ptr;
|
||||||
|
|
Loading…
Reference in New Issue