Changeset 40 for abuse/trunk/src/imlib/jmalloc.cpp
- Timestamp:
- Mar 2, 2008, 12:52:07 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/imlib/jmalloc.cpp
r39 r40 203 203 for (;f;f=f->next,i++) 204 204 { 205 fprintf(fp,"%4d %p (%d) %4d ",i,f,((char *)f-(char *)sfirst),f->size); 205 fprintf(fp, "%4d %p (%ld) %4ld ", 206 i, f, (long int)((char *)f - (char *)sfirst), (long int)f->size); 206 207 #ifdef MEM_CHECK 207 208 if (f->size>0) … … 236 237 237 238 238 fprintf(fp,"************** CACHE SPACE ******************\n",block_size);239 fprintf(fp,"************** CACHE SPACE %i ******************\n", block_size); 239 240 i=0; 240 241 for (f=cfirst;f;f=f->next,i++) … … 690 691 " DOS users : Remove any TSR's and device drivers you can.\n" 691 692 " UNIX users : Do you have a swapfile/partition setup?\n"; 693 #ifdef __WATCOMC__ 692 694 static char const *not_enough_low_memory_message = 693 695 "Memory Manager : Not enough low memory available (%d : need %d)\n" … … 696 698 " - remove TSRs & drivers not needed by ABUSE\n" 697 699 " - add memory to your system\n"; 700 #endif 698 701 699 702 void jmalloc_init(int32_t min_size)
Note: See TracChangeset
for help on using the changeset viewer.