diff options
Diffstat (limited to 'EfiGuardDxe/util.c')
-rw-r--r-- | EfiGuardDxe/util.c | 2 |
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() |