~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_copy.cc

Merge of Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
                             MyFlags)) < 0)
80
80
      goto err;
81
81
 
82
 
    while ((Count=my_read(from_file, buff, sizeof(buff), MyFlags)) != 0)
 
82
    while ((Count= static_cast<uint32_t>(my_read(from_file, buff,
 
83
            sizeof(buff), MyFlags))) != 0)
83
84
    {
84
85
        if (Count == (uint32_t) -1 ||
85
86
            my_write(to_file,buff,Count,MYF(MyFlags | MY_NABP)))