@@ -6081,7 +6081,7 @@ int read_command(struct st_command** command_ptr)
60816081 if (!(*command_ptr= command=
60826082 (struct st_command *) my_malloc (sizeof (*command),
60836083 MYF (MY_WME|MY_ZEROFILL))) ||
6084- insert_dynamic (&q_lines, (uchar*) &command))
6084+ insert_dynamic (&q_lines, &command))
60856085 die (" Out of memory" );
60866086 command->type = Q_UNKNOWN;
60876087
@@ -6580,7 +6580,7 @@ void init_win_path_patterns()
65806580 continue ;
65816581 }
65826582
6583- if (insert_dynamic (&patterns, (uchar*) &p))
6583+ if (insert_dynamic (&patterns, &p))
65846584 die (" Out of memory" );
65856585
65866586 DBUG_PRINT (" info" , (" p: %s" , p));
@@ -9092,7 +9092,7 @@ struct st_replace_regex* init_replace_regex(char* expr)
90929092 reg.icase = 1 ;
90939093
90949094 /* done parsing the statement, now place it in regex_arr */
9095- if (insert_dynamic (&res->regex_arr ,(uchar*) ®))
9095+ if (insert_dynamic (&res->regex_arr , ®))
90969096 die (" Out of memory" );
90979097 }
90989098 res->odd_buf_len = res->even_buf_len = 8192 ;
@@ -10108,7 +10108,7 @@ void dynstr_append_sorted(DYNAMIC_STRING* ds, DYNAMIC_STRING *ds_input)
1010810108 *line_end= 0 ;
1010910109
1011010110 /* Insert pointer to the line in array */
10111- if (insert_dynamic (&lines, (uchar*) &start))
10111+ if (insert_dynamic (&lines, &start))
1011210112 die (" Out of memory inserting lines to sort" );
1011310113
1011410114 start= line_end+1 ;
0 commit comments