diff options
Diffstat (limited to 'apps/plugins/doom/z_zone.c')
-rw-r--r-- | apps/plugins/doom/z_zone.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/doom/z_zone.c b/apps/plugins/doom/z_zone.c index 2ae5d73833..552e3218b0 100644 --- a/apps/plugins/doom/z_zone.c +++ b/apps/plugins/doom/z_zone.c | |||
@@ -115,7 +115,8 @@ static void Z_PrintStats(void) // Print allocation statistics | |||
115 | unsigned long total_memory = free_memory + active_memory + | 115 | unsigned long total_memory = free_memory + active_memory + |
116 | purgable_memory + inactive_memory + | 116 | purgable_memory + inactive_memory + |
117 | virtual_memory; | 117 | virtual_memory; |
118 | double s = 100.0 / total_memory; | 118 | // double s = 100.0 / total_memory; |
119 | int s = 100/total_memory; | ||
119 | 120 | ||
120 | doom_printf("%-5u\t%6.01f%%\tstatic\n" | 121 | doom_printf("%-5u\t%6.01f%%\tstatic\n" |
121 | "%-5u\t%6.01f%%\tpurgable\n" | 122 | "%-5u\t%6.01f%%\tpurgable\n" |