diff options
author | unknown <joerg@mysql.com> | 2004-10-08 15:00:36 +0200 |
---|---|---|
committer | unknown <joerg@mysql.com> | 2004-10-08 15:00:36 +0200 |
commit | c428135ec8550b62a58ac061733c6c31c277a651 (patch) | |
tree | 565781b63ea24d362b9276cae1075709b728febf /sql/sql_class.cc | |
parent | 82343427f05188b92bae35f98d2daa73ee96e400 (diff) | |
download | mariadb-git-c428135ec8550b62a58ac061733c6c31c277a651.tar.gz |
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'!).
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 3555a2959f7..5273d379841 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -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; } }; |