From 21baa41ccf6194d64f1980e28120fc1be11d38f6 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Wed, 14 Nov 2007 14:16:42 +0100 Subject: [PATCH] timestep is a signed quantity. --- src/simulator/time.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulator/time.cc b/src/simulator/time.cc index 8751cc4d4..045e4cded 100644 --- a/src/simulator/time.cc +++ b/src/simulator/time.cc @@ -272,7 +272,7 @@ Time MaxSeconds (void) { // XXX: I am fairly certain other compilers use other non-standard // post-fixes to indicate 64 bit constants. - return TimeStep (0xffffffffffffffffLL); + return TimeStep (0x7fffffffffffffffLL); } /*