[PATCH] tcp.c: elimiate warining "format '%ld', but argument has type 'ssize_t'

Alan DeKok aland at deployingradius.com
Mon Feb 1 11:40:01 CET 2010


Wang Tinggong wrote:
> -		DEBUG(", id=%d, length=%ld\n", packet->id, packet->data_len);
> +		DEBUG(", id=%d, length=%d\n", packet->id, packet->data_len);

  This depends strongly on your local system.  There's no need for the
patch to fix a compiler warning.

  Alan DeKok.



More information about the Freeradius-Devel mailing list