mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
fix previous commit
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
d68d53a416
commit
b1aaed5567
@ -856,7 +856,7 @@ GetPropertyAsInteger(
|
|||||||
INTN Size = Prop->getData()->dataLenValue();
|
INTN Size = Prop->getData()->dataLenValue();
|
||||||
if (Size > 8) Size = 8;
|
if (Size > 8) Size = 8;
|
||||||
INTN Data = 0;
|
INTN Data = 0;
|
||||||
CopyMem(Data, Prop->getData()->dataValue(), Size);
|
CopyMem(&Data, Prop->getData()->dataValue(), Size);
|
||||||
return Data;
|
return Data;
|
||||||
}
|
}
|
||||||
return Default;
|
return Default;
|
||||||
|
Loading…
Reference in New Issue
Block a user