Mercurial > hg > early-roguelike
diff arogue5/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 | 56e748983fa8 |
children |
line wrap: on
line diff
--- a/arogue5/list.c Sun Feb 11 15:37:33 2018 -0500 +++ b/arogue5/list.c Fri Nov 22 21:18:27 2019 -0500 @@ -174,7 +174,7 @@ static char errbuf[LINELEN]; if (space == NULL) { - sprintf(errbuf,"Rogue ran out of memory (used = %d, wanted = %d).", + sprintf(errbuf,"Rogue ran out of memory (used = %ld, wanted = %d).", md_memused(), size); fatal(errbuf); }