pkgsrc/security/ssh2/patches/patch-ao
kivinen be30f7a7f2 Fixed ssh_encode_* calls to have casts to SshUInt32 or size_t
to get it working properly on the 64-bit platform (amd64).
2005-08-24 09:13:24 +00:00

17 lines
736 B
Text

$NetBSD: patch-ao,v 1.1 2005/08/24 09:13:24 kivinen Exp $
--- apps/ssh/sshchsession.c.orig 2003-12-03 15:17:23.000000000 +0200
+++ apps/ssh/sshchsession.c
@@ -2315,9 +2315,9 @@ void ssh_channel_session_eof_callback(vo
{
ssh_encode_buffer(&buffer,
SSH_FORMAT_UINT32, (SshUInt32) -exit_status,
- SSH_FORMAT_BOOLEAN, FALSE,
- SSH_FORMAT_UINT32_STR, NULL, 0,
- SSH_FORMAT_UINT32_STR, NULL, 0,
+ SSH_FORMAT_BOOLEAN, (Boolean) FALSE,
+ SSH_FORMAT_UINT32_STR, NULL, (size_t) 0,
+ SSH_FORMAT_UINT32_STR, NULL, (size_t) 0,
SSH_FORMAT_END);