Skip to content

Commit

Permalink
Fix kernel build breaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
anrossi committed Aug 20, 2024
1 parent d95508f commit 11ea0fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/inc/msquichelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ inline
void
WriteSslKeyLogFileKernelMode(
_In_z_ const char* FileName,
_In_ QUIC_TLS_SECRETS* TlsSecrets
_In_ QUIC_TLS_SECRETS& TlsSecrets
)
{
WCHAR ConvertedFileName[MAX_PATH + 1] = {0};
Expand Down Expand Up @@ -705,7 +705,7 @@ WriteSslKeyLogFileKernelMode(
NULL,
&IoStatusBlock,
TempLogBuffer,
(ULONG)sizeof(TempLogBuffer) - RemainingLengthBytes,
(ULONG)(sizeof(TempLogBuffer) - RemainingLengthBytes),
NULL,
NULL);
if (!NT_SUCCESS(Status)) {
Expand Down Expand Up @@ -751,7 +751,7 @@ WriteSslKeyLogFileKernelMode(
NULL,
&IoStatusBlock,
TempLogBuffer,
(ULONG)sizeof(TempLogBuffer) - RemainingLengthBytes,
(ULONG)(sizeof(TempLogBuffer) - RemainingLengthBytes),
NULL,
NULL);
if (!NT_SUCCESS(Status)) {
Expand Down Expand Up @@ -797,7 +797,7 @@ WriteSslKeyLogFileKernelMode(
NULL,
&IoStatusBlock,
TempLogBuffer,
(ULONG)sizeof(TempLogBuffer) - RemainingLengthBytes,
(ULONG)(sizeof(TempLogBuffer) - RemainingLengthBytes),
NULL,
NULL);
if (!NT_SUCCESS(Status)) {
Expand Down Expand Up @@ -843,7 +843,7 @@ WriteSslKeyLogFileKernelMode(
NULL,
&IoStatusBlock,
TempLogBuffer,
(ULONG)sizeof(TempLogBuffer) - RemainingLengthBytes,
(ULONG)(sizeof(TempLogBuffer) - RemainingLengthBytes),
NULL,
NULL);
if (!NT_SUCCESS(Status)) {
Expand Down Expand Up @@ -889,7 +889,7 @@ WriteSslKeyLogFileKernelMode(
NULL,
&IoStatusBlock,
TempLogBuffer,
(ULONG)sizeof(TempLogBuffer) - RemainingLengthBytes,
(ULONG)(sizeof(TempLogBuffer) - RemainingLengthBytes),
NULL,
NULL);
if (!NT_SUCCESS(Status)) {
Expand Down
2 changes: 1 addition & 1 deletion src/test/lib/precomp.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

#include "msquic.h"
#include "msquicp.h"
#include "msquichelper.h"
#include "quic_versions.h"
#include "quic_trace.h"
#include "msquichelper.h"
#include "quic_var_int.h"
#include "../core/quicdef.h"

Expand Down

0 comments on commit 11ea0fe

Please sign in to comment.