fix previous commit

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2020-12-15 20:03:49 +03:00
parent d68d53a416
commit b1aaed5567

View File

@ -856,7 +856,7 @@ GetPropertyAsInteger(
INTN Size = Prop->getData()->dataLenValue();
if (Size > 8) Size = 8;
INTN Data = 0;
CopyMem(Data, Prop->getData()->dataValue(), Size);
CopyMem(&Data, Prop->getData()->dataValue(), Size);
return Data;
}
return Default;