TFTP: fix warning for sendto() usage on non-POSIX systems
authorDaniel Stenberg <daniel@haxx.se>
Tue, 8 Jun 2010 08:19:39 +0000 (10:19 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Jun 2010 08:19:39 +0000 (10:19 +0200)
commit7977bc3dfa7ed77d0a76834d7f1134b3e4a5c9cd
tree3d091e30f48db8791bfd6cb3dee674c2b19d097d
parent00fdafb0a18d39581cda2ade023bb29ccbf4038e
TFTP: fix warning for sendto() usage on non-POSIX systems

Older unixes want an 'int' instead of 'size_t' as the 3rd
argumment so before this change it would cause warnings such as:

There is an implicit conversion from "unsigned long" to "int";
rounding, sign extension, or loss of accuracy may result.
lib/tftp.c