From d6e6c63baf4409766ffd82fc859187b6285b093f Mon Sep 17 00:00:00 2001 From: dana koch Date: Mon, 12 May 2014 09:16:06 +1000 Subject: Quench clang's complaints with -Wshorten-64-to-32 when time_t is not long. On OpenBSD 5.4, time_t is a 32-bit integer. These instances contain implicit treatment of long and time_t as comparable types, so explicitly cast to time_t. --- changes/bug11633_part2 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changes/bug11633_part2 (limited to 'changes') diff --git a/changes/bug11633_part2 b/changes/bug11633_part2 new file mode 100644 index 000000000..574660dec --- /dev/null +++ b/changes/bug11633_part2 @@ -0,0 +1,4 @@ + o Minor bugfixes (build): + - Resolve clang complaints on OpenBSD with -Wshorten-64-to-32 due to + treatment of long and time_t as comparable types. Fixes part of bug 11633. + Patch from Dana Koch. -- cgit v1.2.3