diff rogue4/passages.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 1b73a8641b37
children 3900f3cfe07d
line wrap: on
line diff
--- a/rogue4/passages.c	Sun Feb 11 15:37:33 2018 -0500
+++ b/rogue4/passages.c	Fri Nov 22 21:18:27 2019 -0500
@@ -136,7 +136,7 @@
 conn(int r1, int r2)
 {
     register struct room *rpf, *rpt = NULL;
-    register char rmt;
+    unsigned char rmt;
     register int distance = 0, turn_spot = 0, turn_distance = 0, index;
     register int rm;
     register char direc;