mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
apps/tftp: fix compiling for 64-bit
This commit is contained in:
parent
5ec4c1d1f2
commit
b5f6720f88
@ -157,7 +157,7 @@ send_request(const ip_addr_t *addr, u16_t port, u16_t opcode, const char* fname,
|
|||||||
static err_t
|
static err_t
|
||||||
send_error(const ip_addr_t *addr, u16_t port, enum tftp_error code, const char *str)
|
send_error(const ip_addr_t *addr, u16_t port, enum tftp_error code, const char *str)
|
||||||
{
|
{
|
||||||
int str_length = strlen(str);
|
size_t str_length = strlen(str);
|
||||||
struct pbuf *p;
|
struct pbuf *p;
|
||||||
u16_t *payload;
|
u16_t *payload;
|
||||||
err_t ret;
|
err_t ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user