Fix build on -CURRENT. Build tested on -STABLE as well.

Submitted by:	schweikh
This commit is contained in:
Will Andrews 2002-11-18 01:36:31 +00:00
parent c0bc2d56c6
commit f0a70b7ec3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70346

View file

@ -0,0 +1,11 @@
--- xplanetbg.cc.orig Fri Mar 22 04:17:05 2002
+++ xplanetbg.cc Sun Nov 17 18:26:59 2002
@@ -907,7 +907,7 @@
if (debug)
{
- cout << "Finished at " << ctime(&current_time.tv_sec);
+ cout << "Finished at " << ctime((time_t *)&current_time.tv_sec);
cout << "Sleeping for " << sleep_time << " seconds until "
<< ctime((time_t *) &next_update) << endl;
}