]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: time: adapt the type of TV_ETERNITY to the local system
authorWilly Tarreau <w@1wt.eu>
Fri, 13 Dec 2013 08:22:23 +0000 (09:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 Dec 2013 08:22:23 +0000 (09:22 +0100)
commit5f3f15f6186d27343b9d346714ea2ad1aa9a8e46
treea3f32acee3a3622fb02c1310c0288180918997ac
parent1d7ca2ec1f71168aa0e5dfab60356272fe5fbebb
BUILD: time: adapt the type of TV_ETERNITY to the local system

Some systems use different types for tv_sec/tv_usec, some are
signed others not. From time to time new warnings are reported
about implicit casts being done.

This patch ensures that TV_ETERNITY is cast to the appropriate
type in assignments and conversions.
include/common/time.h