aboutsummaryrefslogtreecommitdiff
path: root/EfiGuardDxe/util.c
diff options
context:
space:
mode:
authorMatthijs Lavrijsen <mattiwatti@gmail.com>2021-05-12 12:53:34 +0200
committerMatthijs Lavrijsen <mattiwatti@gmail.com>2021-05-12 12:53:34 +0200
commit58d4e2643e147696f908c86f7fb6bf55d08ae9bd (patch)
tree71ad68b0e2888e8e5fb5a96c8dc33ba944207407 /EfiGuardDxe/util.c
parentf8ca8c0c008980352c2b3eee6eda21f395bde4cf (diff)
Fix Resharper warnings
Diffstat (limited to 'EfiGuardDxe/util.c')
-rw-r--r--EfiGuardDxe/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EfiGuardDxe/util.c b/EfiGuardDxe/util.c
index 6d45675..011dab2 100644
--- a/EfiGuardDxe/util.c
+++ b/EfiGuardDxe/util.c
@@ -68,7 +68,7 @@ AppendKernelPatchMessage(
gKernelPatchInfo.BufferSize += (NumCharsPrinted * sizeof(CHAR16));
// Paranoid null terminator (UnicodeVSPrint should do this)
- *(CHAR16*)(gKernelPatchInfo.Buffer + (gKernelPatchInfo.BufferSize / sizeof(CHAR16))) = CHAR_NULL;
+ *(gKernelPatchInfo.Buffer + (gKernelPatchInfo.BufferSize / sizeof(CHAR16))) = CHAR_NULL;
// Separate the next message using the null terminator. This is because most Print() implementations crap out
// after ~4 lines (depending on PCDs), so we will print the final buffer using multiple calls to Print()