BUILD: sample: fix format warning on 32-bit archs in sample_conv_be2dec_check()
authorWilly Tarreau <w@1wt.eu>
Wed, 15 Sep 2021 08:30:40 +0000 (10:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 15 Sep 2021 08:32:12 +0000 (10:32 +0200)
commitc5d0fc9b9f165c4dcbe0ff849c740702bd732a01
tree436f41367c64403d9cefeefec2a4b4aef2346994
parent4f5485bfad8355b7cf2d62a36897558dfc44bcb6
BUILD: sample: fix format warning on 32-bit archs in sample_conv_be2dec_check()

The sizeof() was printed as a long but it's just an unsigned on some
32-bit platforms, hence the format warning. No backport is needed, as
this arrived in 2.5 with commit  40ca09c7b ("MINOR: sample: Add be2dec
converter").
src/sample.c