summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-08-15 02:16:08 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-08-15 02:16:08 +0200
commit2d91d9ada0fc32c48887763753881cd6964f35a0 (patch)
tree47c0dd12cd06e268b5f480250dbb50c4765d6d81
parent4ae14c6b10fd7387df34bd92636d51cf162df80d (diff)
downloadarts-2d91d9ada0fc32c48887763753881cd6964f35a0.tar.gz
arts-2d91d9ada0fc32c48887763753881cd6964f35a0.zip
Fix FTBFS with GCC 6 (C++11 dialect)
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--mcop/iomanager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcop/iomanager.cc b/mcop/iomanager.cc
index 5756df2..263fab6 100644
--- a/mcop/iomanager.cc
+++ b/mcop/iomanager.cc
@@ -465,7 +465,7 @@ timeval TimeWatcher::advance(const timeval& currentTime)
{
delete this;
- struct timeval never = { 0xffffffff, 0 };
+ struct timeval never = { -1, 0 };
return never;
}
}