Waitrud Weber’s blog

things and reminders for memories

Hatena: Reallocation needs cast that you do not forget to put.

 57 :	result_001 = err_msg_001 ( "check of slide_to_back: |%s| ", msg_2 );
 58 :	int cnt = array_count( msg_2 );
 59 :	cnt++;
 60 :	msg_2 = (char *) realloc ( msg_2, sizeof(char*) * cnt ); // Do not forget to place cast (char *)
 61 :	// slide_to_back ( msg_2, 3, cnt );
 62 :	result_001 = err_msg_001 ( "check of slide_to_back: |%s| ", msg_2 );
 63 :	// exit(-1);
 64 :	// tests-001-002.txt at 20190307
 65 :	// Thu Mar 07 16:19:15 201 check of slide_to_back: |err_msg 2| 10 c=  0 c=  :a:  
 66 :	// Thu Mar 07 16:19:15 201 check of slide_to_back: |err_msg 2| 10 c=  0 c=  :a:  
 67 :	// Good at 20190307