BUILD/MINOR: tools: shut up the format truncation warning in get_gmt_offset()
The gcc warning about format truncation in get_gmt_offset() is annoying
since we always call it with a valid time thus it cannot fail. However
it's true that nothing guarantees that future code reuses this function
incorrectly in the future, so better enforce the modulus on one day and
shut the warning.
(cherry picked from commit e112c8a64be8ba2f7d8efb3221ec87a6ec119c54)
Signed-off-by: Willy Tarreau <w@1wt.eu>
1 file changed