diff urogue/io.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 c495a4f288c6
children e52a8a7ad4c5
line wrap: on
line diff
--- a/urogue/io.c	Sun Feb 11 15:37:33 2018 -0500
+++ b/urogue/io.c	Fri Nov 22 21:18:27 2019 -0500
@@ -161,7 +161,7 @@
     mvwaddstr(cw, LINES - 2, 0, buf);
     wclrtoeol(cw);
 
-    sprintf(buf, "Lvl:%d Au:%d Hpt:%3d(%3d) Pow:%d(%d) Ac:%d  Exp:%d+%ld  %s",
+    sprintf(buf, "Lvl:%d Au:%ld Hpt:%3ld(%3ld) Pow:%d(%d) Ac:%d  Exp:%d+%ld  %s",
         level,
         purse,
         stat_ptr->s_hpt, max_ptr->s_hpt,