diff srogue/list.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 94a0d9dd5ce1
children
line wrap: on
line diff
--- a/srogue/list.c	Sun Feb 11 15:37:33 2018 -0500
+++ b/srogue/list.c	Fri Nov 22 21:18:27 2019 -0500
@@ -100,7 +100,7 @@
 	register char *space = ALLOC(size);
 
 	if (space == NULL) {
-		sprintf(prbuf,"Rogue ran out of memory (%d).", md_memused());
+		sprintf(prbuf,"Rogue ran out of memory (%ld).", md_memused());
 		fatal(prbuf);
 	}
 	total++;