~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to examples/pipe_query.c

  • Committer: Monty Taylor
  • Date: 2010-12-10 17:15:20 UTC
  • mto: (2023.3.15 innodb-cxx)
  • mto: This revision was merged to the branch mainline in revision 2014.
  • Revision ID: mordred@inaugust.com-20101210171520-jjzk0ajz1w6dgexo
Cleaned up for additional gcc 4.5 warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
 
142
142
    buffer_size+= (size_t)read_size;
143
143
 
144
 
    buffer= realloc(buffer, buffer_size + BUFFER_CHUNK);
 
144
    buffer= (char *)realloc(buffer, buffer_size + BUFFER_CHUNK);
145
145
    if (buffer == NULL)
146
146
    {
147
147
      printf("realloc:%d\n", errno);