apps/tftp: fix compiling for 64-bit

This commit is contained in:
Simon Goldschmidt 2023-10-10 20:39:45 +02:00
parent 5ec4c1d1f2
commit b5f6720f88

View File

@ -157,7 +157,7 @@ send_request(const ip_addr_t *addr, u16_t port, u16_t opcode, const char* fname,
static err_t
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;
u16_t *payload;
err_t ret;