]> git.pond.sub.org Git - empserver/blobdiff - src/lib/lwp/sel.c
Update copyright notice
[empserver] / src / lib / lwp / sel.c
index 5920f41a5f1dc7337f693ed8f8e6eb0ff53e66cc..57a683037e101f790a1806a2b37e88db65a3b157 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1994-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1994-2015, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *  Copyright (C) 1991-3 Stephen Crane
  *
@@ -29,7 +29,7 @@
  *
  *  Known contributors to this file:
  *     Dave Pare, 1994
- *     Markus Armbruster, 2007-2011
+ *     Markus Armbruster, 2007-2013
  *     Ron Koenderink, 2009
  */
 
@@ -243,7 +243,7 @@ lwpSelect(void *arg)
            if (tv.tv_sec < 0)
                tv.tv_sec = 0;
        }
-       lwpStatus(us, "selecting; sleep %ld secs", tv.tv_sec);
+       lwpStatus(us, "selecting; sleep %ld secs", (long)tv.tv_sec);
 
        memcpy(&readmask, &LwpReadfds, sizeof(fd_set));
        memcpy(&writemask, &LwpWritefds, sizeof(fd_set));
@@ -283,5 +283,4 @@ lwpSelect(void *arg)
        lwpReady(LwpCurrent);
        lwpReschedule();
     }
-    /*NOTREACHED*/
 }