Navigation Menu

Skip to content

Commit

Permalink
Use const_cast
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 9, 2012
1 parent 89acb97 commit e6bd47f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ha_mroonga.cc
Expand Up @@ -569,8 +569,8 @@ static grn_log_level mrn_log_level_default = GRN_LOG_DEFAULT_LEVEL;
static ulong mrn_log_level = mrn_log_level_default;
char *mrn_default_parser = NULL;
char *mrn_default_wrapper_engine = NULL;
static char *mrn_libgroonga_version = (char *) grn_get_version();
static char *mrn_version = (char *) MRN_VERSION;
static char *mrn_libgroonga_version = const_cast<char *>(grn_get_version());
static char *mrn_version = const_cast<char *>(MRN_VERSION);

static void mrn_logger_func(int level, const char *time, const char *title,
const char *msg, const char *location,
Expand Down

0 comments on commit e6bd47f

Please sign in to comment.