Commit f0fae219 authored by unknown's avatar unknown

Solve compile problem - use system types like 'size_t'.


sql/sql_class.cc:
  'new' does not accept 'unsigned int' on several platforms but 
  requires 'size_t' (this can be 'unsigned long'!).
parent 1a7275b2
......@@ -702,7 +702,7 @@ struct Item_change_record: public ilink
Item **place;
Item *old_value;
/* Placement new was hidden by `new' in ilink (TODO: check): */
static void *operator new(unsigned int size, void *mem) { return mem; }
static void *operator new(size_t size, void *mem) { return mem; }
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment