--- ../../freeciv-Jul-27/freeciv/common/timing.c Thu Jul 27 14:22:32 2000 +++ ./common/timing.c Thu Jul 27 20:12:19 2000 @@ -248,7 +248,7 @@ } if (t->type == TIMER_CPU) { t->start.c = clock(); - if (t->start.c == -1) { + if (t->start.c == (clock_t) -1) { report_clock_failed(t); return; } @@ -261,7 +261,7 @@ } #else t->start.t = time(NULL); - if (t->start.t == -1) { + if (t->start.t == (time_t) -1) { report_time_failed(t); return; } @@ -298,7 +298,7 @@ } if (t->type == TIMER_CPU) { clock_t now = clock(); - if (now == -1) { + if (now == (clock_t) -1) { report_clock_failed(t); return; } @@ -325,7 +325,7 @@ t->start.tv = now; #else time_t now = time(NULL); - if (now == -1) { + if (now == (time_t) -1) { report_time_failed(t); return; }