$NetBSD: patch-ay,v 1.1 2006/09/22 13:58:46 kivinen Exp $ --- apps/ssh/auths-pam.c.orig 2003-12-03 15:17:26.000000000 +0200 +++ apps/ssh/auths-pam.c @@ -255,7 +255,8 @@ void received_packet_cb(SshPacketType pa ssh_buffer_clear(gdata->client_packet); ssh_encode_buffer(gdata->client_packet, - SSH_FORMAT_CHAR, SSH_MSG_USERAUTH_PAM_MSG, + SSH_FORMAT_CHAR, + (unsigned int) SSH_MSG_USERAUTH_PAM_MSG, SSH_FORMAT_DATA, data, len, SSH_FORMAT_END); (*gdata->completion_proc)(SSH_AUTH_SERVER_CONTINUE_WITH_PACKET_BACK,