A harmless but annoying 64bit display bug was bothering me, so i decided to hunt it and fix it. It's about the piety display that only affect 64 bits machines in 2.3.5.
Code: Select all
diff -rU1 tome-235-src.orig/src/xtra1.c tome-235-src/src/xtra1.c
--- tome-235-src.orig/src/xtra1.c 2009-09-27 15:07:16.000000000 -0500
+++ tome-235-src/src/xtra1.c 2009-09-27 15:08:29.000000000 -0500
@@ -148,3 +148,3 @@
- sprintf(tmp, "%9ld", p_ptr->grace);
+ sprintf(tmp, "%9ld", (long) p_ptr->grace);
PS: I want to commit it, but instructions about checking out only version 2.3.x from CVS are gone, if some kind soul would post the instructions again I would be highly grateful.
sign: File not found.