~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/hello_world/hello_world.cc

Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
static int hello_world_plugin_init(void *p)
47
47
{
48
 
  Function_builder **f = (Function_builder**) p;
 
48
  Function_builder **f = static_cast<Function_builder**>(p);
49
49
 
50
50
  *f= &hello_world_udf;
51
51
 
54
54
 
55
55
static int hello_world_plugin_deinit(void *p)
56
56
{
57
 
  Function_builder *udff = (Function_builder *) p;
 
57
  Function_builder *udff = static_cast<Function_builder *>(p);
58
58
  (void)udff;
59
59
  return 0;
60
60
}