~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump.cc

  • Committer: Monty Taylor
  • Date: 2008-09-16 06:40:44 UTC
  • mfrom: (390.1.7 client-split)
  • Revision ID: monty@inaugust.com-20080916064044-vbgmaf36cvm8jufx
Merged in from client-split.

Show diffs side-by-side

added added

removed removed

Lines of Context:
736
736
                                    &err_ptr, &error_len);
737
737
      if (error_len)
738
738
      {
739
 
        strmake(buff, err_ptr, min(sizeof(buff), error_len));
 
739
        strmake(buff, err_ptr, min((uint32_t)sizeof(buff), error_len));
740
740
        fprintf(stderr, "Invalid mode to --compatible: %s\n", buff);
741
741
        exit(1);
742
742
      }
3087
3087
 
3088
3088
      for (; pos != end && *pos != ','; pos++) ;
3089
3089
      var_len= (uint32_t) (pos - start);
3090
 
      strmake(buff, start, min(sizeof(buff), var_len));
 
3090
      strmake(buff, start, min((uint32_t)sizeof(buff), var_len));
3091
3091
      find= find_type(buff, lib, var_len);
3092
3092
      if (!find)
3093
3093
      {