diff rogue3/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 c199a15a2c70
children e52a8a7ad4c5
line wrap: on
line diff
--- a/rogue3/rip.c	Sun Feb 11 15:37:33 2018 -0500
+++ b/rogue3/rip.c	Fri Nov 22 21:18:27 2019 -0500
@@ -314,7 +314,7 @@
     if (waswizard)
         return;
 #ifdef LOGFILE
-    sprintf(logmessage, "%d %d %s %d ", time(NULL), amount, whoami, 
+    sprintf(logmessage, "%ld %d %s %d ", time(NULL), amount, whoami, 
             pstats.s_lvl);
     if (flags == 0) /* died */
     {