if (ssh_scp_recv(&resp, 1) <= 0)
if (ssh_scp_recv((unsigned char *) &resp, 1) <= 0)
static int response(void){    char ch, resp, rbuf[2048];    int p;    if (ssh_scp_recv(&resp, 1) <= 0)	bump("Lost connection");    p = 0;    switch (resp) {      case 0:			       /* ok */	return (0);      default:	rbuf[p++] = resp;	/* fallthrough */      case 1:			       /* error */      case 2:			       /* fatal error */	do {	    if (ssh_scp_recv(&ch, 1) <= 0)		bump("Protocol error: Lost connection");	    rbuf[p++] = ch;	} while (p < sizeof(rbuf) && ch != '\n');	rbuf[p - 1] = '\0';	if (resp == 1)	    tell_user(stderr, "%s\n", rbuf);	else	    bump("%s", rbuf);	errs++;	return (-1);    }}