diff options
author | miguel@hegel.local <> | 2004-05-05 02:59:17 -0300 |
---|---|---|
committer | miguel@hegel.local <> | 2004-05-05 02:59:17 -0300 |
commit | 8d1480f7c5535edc80c69cf8998538f01b058c6d (patch) | |
tree | acaa682ecb4e7413232120ad5965cc6adc2f410c /sql/sql_lex.cc | |
parent | ee627d251062c455ccd57dac28497d896c721a0e (diff) | |
download | mariadb-git-8d1480f7c5535edc80c69cf8998538f01b058c6d.tar.gz |
Windows fixes for VC++ compiler compability
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 19a6941fe32..63247a64319 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1668,8 +1668,8 @@ TABLE_LIST *st_lex::unlink_first_table(TABLE_LIST *tables, and from local list if it is not the same */ select_lex.table_list.first= ((&select_lex != all_selects_list) ? - (gptr) (*local_first)->next : - (gptr) tables); + (byte*) (*local_first)->next : + (byte*) tables); (*global_first)->next= 0; return tables; } @@ -1698,10 +1698,10 @@ TABLE_LIST *st_lex::link_first_table_back(TABLE_LIST *tables, we do not touch local table 'next' field => we need just put the table in the list */ - select_lex.table_list.first= (gptr) local_first; + select_lex.table_list.first= (byte*) local_first; } else - select_lex.table_list.first= (gptr) global_first; + select_lex.table_list.first= (byte*) global_first; return global_first; } |