pkgsrc/security/ssh2/patches/patch-am
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

13 lines
657 B
Text

$NetBSD: patch-am,v 1.1 2005/08/24 09:13:24 kivinen Exp $
--- apps/ssh/ssh-signer2.c.orig 2003-12-03 15:17:26.000000000 +0200
+++ apps/ssh/ssh-signer2.c
@@ -264,7 +264,7 @@ SSH_FSM_STEP(signer_send_error)
(unsigned int) gdata->error_code_to_ssh2,
SSH_FORMAT_UINT32_STR, gdata->error_message_to_ssh2,
strlen(gdata->error_message_to_ssh2),
- SSH_FORMAT_UINT32_STR, "en", 2,
+ SSH_FORMAT_UINT32_STR, "en", (size_t) 2,
SSH_FORMAT_END);
ssh_packet_wrapper_can_receive(gdata->wrapper, FALSE);