diff urogue/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 1bbdd13ec585
children e52a8a7ad4c5
line wrap: on
line diff
--- a/urogue/rip.c	Sun Feb 11 15:37:33 2018 -0500
+++ b/urogue/rip.c	Fri Nov 22 21:18:27 2019 -0500
@@ -408,8 +408,8 @@
     }
     else
         return;
-    fprintf(file_log, "%d %d %s %d %s %d %d %d %s\n", time(NULL), amount, 
-		    whoami, lvl, which_class(player.t_ctype), level, max_level, 
+    fprintf(file_log, "%ld %ld %s %d %s %d %d %d %s\n", time(NULL), amount,
+		    whoami, lvl, which_class(player.t_ctype), level, max_level,
 		    has_artifact, fate);
     fclose(file_log);
     return;