diff urogue/getplay.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 51ddbe7b992d
children
line wrap: on
line diff
--- a/urogue/getplay.c	Sun Feb 11 15:37:33 2018 -0500
+++ b/urogue/getplay.c	Fri Nov 22 21:18:27 2019 -0500
@@ -152,7 +152,7 @@
     wclrtoeol(hw);
 
     sprintf(pbuf,
-        "Int: %d Str: %d Wis: %d Dex: %d Con: %d Cha: %d Pow: %d Hpt: %d",
+        "Int: %d Str: %d Wis: %d Dex: %d Con: %d Cha: %d Pow: %d Hpt: %ld",
         pstats.s_intel,
         pstats.s_str,
         pstats.s_wisdom,