Navigation Menu

Skip to content

Commit

Permalink
Use static_cast
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 8, 2015
1 parent fc5fb63 commit 95323d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ha_mroonga.cpp
Expand Up @@ -1615,8 +1615,7 @@ static int mrn_init(void *p)
{
// init handlerton
grn_ctx *ctx = NULL;
handlerton *hton;
hton = (handlerton *)p;
handlerton *hton = static_cast<handlerton *>(p);
hton->state = SHOW_OPTION_YES;
hton->create = mrn_handler_create;
hton->flags = HTON_NO_FLAGS;
Expand Down

0 comments on commit 95323d2

Please sign in to comment.