commit | 4e1554c295f4c572d829982bdcb7e2556ea23167 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Mar 21 23:21:00 2010 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Mar 21 23:21:00 2010 +0100 |
tree | 97e1a91b4f9cf84eb40620b71c080e006db680f3 | |
parent | da618cbdbc3b10ae266957a14e10de95d54377c7 [diff] |
[CLEANUP] stats: remove printf format warning in stats_dump_full_sess_to_buffer() This warning was first reported by Ross West on FreeBSD, then by Holger Just on OpenSolaris. It also happens on 64bit Linux. However, fixing the format to use long int complains on 32bit Linux where ptrdiff_t is apparently different. Better cast the pointer difference to an int then.