mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-06 10:27:22 +09:00
Fix implicit type conversions and warnings on windows builds
The visual studio windows builds spit dozens of lines of warnings on these. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -482,8 +482,8 @@ static size_t callback_receive_banner(const void *data, size_t len, void *user)
|
||||
ssh_pcap_context_write(session->pcap_ctx,
|
||||
SSH_PCAP_DIR_IN,
|
||||
buffer,
|
||||
i + 1,
|
||||
i + 1);
|
||||
(uint32_t)(i + 1),
|
||||
(uint32_t)(i + 1));
|
||||
}
|
||||
#endif
|
||||
if (buffer[i] == '\r') {
|
||||
|
||||
Reference in New Issue
Block a user