Navigation Menu

Skip to content

Commit

Permalink
Add a missing cast
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Sep 25, 2013
1 parent b2acbf1 commit e70b20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -629,7 +629,7 @@ static void mrn_log_file_update(THD *thd, struct st_mysql_sys_var *var,
*old_value_ptr = my_strdup(new_log_file_name, MYF(MY_WME));
my_free(old_log_file_name, MYF(0));
#else
*old_value_ptr = new_log_file_name;
*old_value_ptr = const_cast<char *>(new_log_file_name);
#endif
}
grn_ctx_fin(&ctx);
Expand Down

0 comments on commit e70b20e

Please sign in to comment.