$NetBSD: patch-ai,v 1.2 2006/09/22 13:58:46 kivinen Exp $ --- apps/ssh/authc-kbd-interactive.c.orig 2003-12-03 15:17:26.000000000 +0200 +++ apps/ssh/authc-kbd-interactive.c @@ -103,7 +103,7 @@ SSH_FSM_STEP(ssh_kbd_process_packet) ssh_encode_buffer(gdata->response_packet, SSH_FORMAT_CHAR, SSH_MSG_USERAUTH_INFO_RESPONSE, - SSH_FORMAT_UINT32, gdata->num_prompts, + SSH_FORMAT_UINT32, (SshUInt32) gdata->num_prompts, SSH_FORMAT_END); @@ -345,7 +345,8 @@ void ssh_client_auth_kbd_interact(SshAut /* language tag */ SSH_FORMAT_UINT32_STR, lang_tag, strlen(lang_tag), /* XXX devices, what do we support? */ - SSH_FORMAT_UINT32_STR, "", 0L, + SSH_FORMAT_UINT32_STR, "", + (size_t) 0L, SSH_FORMAT_END); (*completion)(SSH_AUTH_CLIENT_SEND_AND_CONTINUE, user, buffer, completion_context);