Loading lib_debug/mem_count.c +2 −2 Original line number Diff line number Diff line Loading @@ -911,14 +911,14 @@ size_t mem_count_summary( Counting_Size cnt_size ) } #ifdef RAM_ANALYSIS void mem_analyze() void mem_analyze(void) { unsigned int i; char buffer[1024]; for ( i = 0; i < Num_Records_Cur_RAM; i++ ) { sprintf( buffer, "%s:%d,%d;", Current_Allocations[i].name, Current_Allocations[i].lineno, Current_Allocations[i].block_size ); sprintf( buffer, "%s:%d,%ld;", Current_Allocations[i].name, Current_Allocations[i].lineno, Current_Allocations[i].block_size ); dbgwrite( buffer, sizeof( char ), strlen( buffer ), 1, "mem_analysis.csv" ); } sprintf( buffer, "\n" ); Loading lib_debug/mem_count.h +1 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ extern "C" extern void mem_free( const char *func_name, int func_lineno, void *ptr ); #ifdef RAM_ANALYSIS extern void mem_analyze(); extern void mem_analyze(void); #endif #ifdef __cplusplus Loading Loading
lib_debug/mem_count.c +2 −2 Original line number Diff line number Diff line Loading @@ -911,14 +911,14 @@ size_t mem_count_summary( Counting_Size cnt_size ) } #ifdef RAM_ANALYSIS void mem_analyze() void mem_analyze(void) { unsigned int i; char buffer[1024]; for ( i = 0; i < Num_Records_Cur_RAM; i++ ) { sprintf( buffer, "%s:%d,%d;", Current_Allocations[i].name, Current_Allocations[i].lineno, Current_Allocations[i].block_size ); sprintf( buffer, "%s:%d,%ld;", Current_Allocations[i].name, Current_Allocations[i].lineno, Current_Allocations[i].block_size ); dbgwrite( buffer, sizeof( char ), strlen( buffer ), 1, "mem_analysis.csv" ); } sprintf( buffer, "\n" ); Loading
lib_debug/mem_count.h +1 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ extern "C" extern void mem_free( const char *func_name, int func_lineno, void *ptr ); #ifdef RAM_ANALYSIS extern void mem_analyze(); extern void mem_analyze(void); #endif #ifdef __cplusplus Loading