Mercurial > hg > early-roguelike
comparison arogue5/daemon.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 | b67b99f6c92b |
children |
comparison
equal
deleted
inserted
replaced
299:74351bf23e5e | 300:0250220d8cdd |
---|---|
236 * Show wizard number of demaons and memory blocks used | 236 * Show wizard number of demaons and memory blocks used |
237 */ | 237 */ |
238 void | 238 void |
239 activity(void) | 239 activity(void) |
240 { | 240 { |
241 sprintf(outstring,"Daemons = %d : Fuses = %d : Memory Items = %d : Memory Used = %d", | 241 sprintf(outstring,"Daemons = %d : Fuses = %d : Memory Items = %d : Memory Used = %ld", |
242 demoncnt,fusecnt,total,md_memused()); | 242 demoncnt,fusecnt,total,md_memused()); |
243 msg(outstring); | 243 msg(outstring); |
244 } | 244 } |