Lines 1-11
Link Here
|
1 |
--- pdns/communicator.hh 21 Jun 2003 09:59:08 -0000 1.5 |
|
|
2 |
+++ pdns/communicator.hh 10 Jan 2004 15:47:47 -0000 |
3 |
@@ -94,7 +94,7 @@ |
4 |
|
5 |
time_t earliest() |
6 |
{ |
7 |
- time_t early=1<<31-1; // y2038 problem lurking here :-) |
8 |
+ time_t early=(1<<31)-1; // y2038 problem lurking here :-) |
9 |
for(d_nqueue_t::const_iterator i=d_nqueue.begin();i!=d_nqueue.end();++i) |
10 |
early=min(early,i->next); |
11 |
return early-time(0); |