mirror of
https://github.com/curl/curl.git
synced 2026-07-25 13:37:16 +03:00
fix compiler warning: implicit conversion from "long" to "int"
This commit is contained in:
parent
775d9e0615
commit
51e84c77e7
1 changed files with 2 additions and 2 deletions
|
|
@ -119,7 +119,7 @@ static void mysignal(int, void (*func)(int));
|
|||
#define PKTSIZE SEGSIZE+4
|
||||
|
||||
struct formats;
|
||||
static int tftp(struct testcase *test, struct tftphdr *tp, int size);
|
||||
static int tftp(struct testcase *test, struct tftphdr *tp, ssize_t size);
|
||||
static void nak(int error);
|
||||
static void sendtftp(struct testcase *test, struct formats *pf);
|
||||
static void recvtftp(struct testcase *test, struct formats *pf);
|
||||
|
|
@ -571,7 +571,7 @@ struct formats {
|
|||
/*
|
||||
* Handle initial connection protocol.
|
||||
*/
|
||||
static int tftp(struct testcase *test, struct tftphdr *tp, int size)
|
||||
static int tftp(struct testcase *test, struct tftphdr *tp, ssize_t size)
|
||||
{
|
||||
char *cp;
|
||||
int first = 1, ecode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue