~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/field.c

  • Committer: Monty Taylor
  • Date: 2010-12-12 11:52:00 UTC
  • mto: (2023.3.15 innodb-cxx)
  • mto: This revision was merged to the branch mainline in revision 2014.
  • Revision ID: mordred@inaugust.com-20101212115200-uyk1h5crevvt77gh
RevertĀ -Wc++-compatĀ change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
 
94
94
  if (result->field_buffer == NULL)
95
95
  {
96
 
    result->field_buffer= (drizzle_field_t)malloc((*total) + 1);
 
96
    result->field_buffer= malloc((*total) + 1);
97
97
    if (result->field_buffer == NULL)
98
98
    {
99
99
      drizzle_set_error(result->con->drizzle, "drizzle_field_buffer", "malloc");