diff xrogue/rip.c @ 300:0250220d8cdd

Fix an assortment of compiler warnings. A few potential bugs were removed in the process. Much code cleanup remains to be done.
author John "Elwin" Edwards
date Fri, 22 Nov 2019 21:18:27 -0500
parents b49d8b963df3
children e52a8a7ad4c5
line wrap: on
line diff
--- a/xrogue/rip.c	Sun Feb 11 15:37:33 2018 -0500
+++ b/xrogue/rip.c	Fri Nov 22 21:18:27 2019 -0500
@@ -180,7 +180,7 @@
     else
         return;
     /* Write the line */
-    fprintf(logfile, "%d %d %s %d %s %d %d %d %c %s\n", time(NULL), amount,
+    fprintf(logfile, "%ld %ld %s %d %s %d %d %d %c %s\n", time(NULL), amount,
             whoami, pstats.s_lvl, char_class[char_type].name, level, max_level,
             quest_item, had_quest, fate);
     fclose(logfile);