]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/lost.c
Update copyright notice.
[empserver] / src / lib / commands / lost.c
index f4cb4356c358b9589a852d00166a1d7352987d9d..59ad613f1ad0b9aa287e78fcbe1a9e30765cec1b 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2000, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2004, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -53,12 +53,12 @@ lost(void)
     } else {
        if (!snxtitem(&ni, EF_LOST, player->argp[1]))
            return RET_SYN;
-    }  
+    }
 
     prdate();
     nlost = 0;
     time(&now);
-    pr("DUMP LOST ITEMS %d\n", now);
+    pr("DUMP LOST ITEMS %ld\n", (long)now);
     if (player->god)
        pr("owner ");
     pr("type id x y timestamp\n");
@@ -71,7 +71,7 @@ lost(void)
            pr("%d ", lost.lost_owner);
        pr("%d %d ", lost.lost_type, lost.lost_id);
        prxy("%d %d ", lost.lost_x, lost.lost_y, player->cnum);
-       pr("%d\n", lost.lost_timestamp);
+       pr("%ld\n", (long)lost.lost_timestamp);
        nlost++;
     }
     if (nlost == 0) {