comparison src/sheap.c @ 647:b39c14581166

[xemacs-hg @ 2001-08-13 04:45:47 by ben] removal of unsigned, size_t, etc.
author ben
date Mon, 13 Aug 2001 04:46:48 +0000
parents 183866b06e0b
children fdefd0186b75
comparison
equal deleted inserted replaced
646:00c54252fe4f 647:b39c14581166
124 void 124 void
125 report_sheap_usage (int die_if_pure_storage_exceeded) 125 report_sheap_usage (int die_if_pure_storage_exceeded)
126 { 126 {
127 int rc = 0; 127 int rc = 0;
128 128
129 size_t lost = (STATIC_HEAP_BASE + STATIC_HEAP_SLOP + SHEAP_ADJUSTMENT) 129 Memory_Count lost = (STATIC_HEAP_BASE + STATIC_HEAP_SLOP + SHEAP_ADJUSTMENT)
130 - (static_heap_ptr - static_heap_buffer); 130 - (static_heap_ptr - static_heap_buffer);
131 char buf[200]; 131 char buf[200];
132 sprintf (buf, "Static heap usage: %ld of %ld", 132 sprintf (buf, "Static heap usage: %ld of %ld",
133 (long) (static_heap_ptr - static_heap_buffer), 133 (long) (static_heap_ptr - static_heap_buffer),
134 (long) (STATIC_HEAP_BASE + STATIC_HEAP_SLOP + SHEAP_ADJUSTMENT)); 134 (long) (STATIC_HEAP_BASE + STATIC_HEAP_SLOP + SHEAP_ADJUSTMENT));