Skip to content

Commit ac6e4d1

Browse files
committed
Fix type mismatch
1 parent a6861d9 commit ac6e4d1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/internal.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6032,7 +6032,8 @@ static int DoKexDhReply(WOLFSSH* ssh, byte* buf, word32 len, word32* idx)
60326032
WMEMCMP(sig + begin, expectedSigName, scratch) != 0) {
60336033
WLOG(WS_LOG_DEBUG,
60346034
"signature name %.*s did not match negotiated %s",
6035-
(int)scratch, sig + begin, expectedSigName);
6035+
(int)scratch, (const char*)(sig + begin),
6036+
expectedSigName);
60366037
ret = WS_PARSE_E;
60376038
}
60386039
}

0 commit comments

Comments
 (0)