[Groonga-mysql-commit] mroonga/mroonga at e70b20e [master] Add a missing cast

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Wed Sep 25 18:04:09 JST 2013


Kouhei Sutou	2013-09-25 18:04:09 +0900 (Wed, 25 Sep 2013)

  New Revision: e70b20e886b596f1b4f02019109610c9e8e8158a
  https://github.com/mroonga/mroonga/commit/e70b20e886b596f1b4f02019109610c9e8e8158a

  Message:
    Add a missing cast

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2013-09-25 17:55:36 +0900 (ed9bc07)
+++ ha_mroonga.cpp    2013-09-25 18:04:09 +0900 (e46e518)
@@ -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);
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Zurück zum Archiv-Index