diff options
Diffstat (limited to 'MdePkg/Library/BaseLib/Unaligned.c')
-rw-r--r-- | MdePkg/Library/BaseLib/Unaligned.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/Unaligned.c b/MdePkg/Library/BaseLib/Unaligned.c index 2ce8fc6992..18c486d50f 100644 --- a/MdePkg/Library/BaseLib/Unaligned.c +++ b/MdePkg/Library/BaseLib/Unaligned.c @@ -113,7 +113,7 @@ WriteUnaligned24 ( {
ASSERT (Buffer != NULL);
- BitFieldWrite32 (*Buffer, 0, 23, Value);
+ *Buffer = BitFieldWrite32 (*Buffer, 0, 23, Value);
return Value;
}
|