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:30 +0200
commit6c9faab508cd49c25371a68c3cebfd55e704477b (patch)
tree26c0c5b7c700bdb61dbe2ecd282f5d327084d57c
parent024700a58f47f0ec6a03ebd7bc2e7eadc4e884cc (diff)
downloadarts-6c9faab508cd49c25371a68c3cebfd55e704477b.tar.gz
arts-6c9faab508cd49c25371a68c3cebfd55e704477b.zip
Fix FTBFS with GCC 6 (C++11 dialect)
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2d91d9ada0fc32c48887763753881cd6964f35a0)
-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;
}
}