~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

  • Committer: Olaf van der Spek
  • Date: 2011-02-09 21:31:01 UTC
  • mto: (2167.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2168.
  • Revision ID: olaf@testing-20110209213101-17fg3hzm5so7zk6h
Const fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
471
471
  int64_t val_int_internal(const unsigned char *new_ptr)
472
472
  {
473
473
    unsigned char *old_ptr= ptr;
474
 
    int64_t return_value;
475
474
    ptr= const_cast<unsigned char*>(new_ptr);
476
 
    return_value= val_int();
 
475
    int64_t return_value= val_int();
477
476
    ptr= old_ptr;
478
477
    return return_value;
479
478
  }