~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/get_system_var.cc

  • Committer: Stewart Smith
  • Date: 2009-03-18 00:29:24 UTC
  • mto: (942.1.10 mordred)
  • mto: This revision was merged to the branch mainline in revision 945.
  • Revision ID: stewart@flamingspork.com-20090318002924-gixoh4t5mhbw8qyz
make set_if_bigger typesafe for C and C++. Fix up everywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
    }
81
81
  }
82
82
 
83
 
  set_if_smaller(component_name->length, MAX_SYS_VAR_LENGTH);
 
83
  set_if_smaller(component_name->length, (size_t)MAX_SYS_VAR_LENGTH);
84
84
 
85
85
  return new Item_func_get_system_var(var, var_type, component_name,
86
86
                                      NULL, 0);