Commit f0d11fca authored by marko's avatar marko

Merge changes from MySQL AB:

ChangeSet@1.2528.115.25  2007-08-27 18:18:14-06:00  tsmith@hindu.god

Fix some Windows compiler warnings.

dict0mem.c: Fix compiler warning with a cast.

ha_innodb.cc: Change type to fix a compiler warning.
parent 0defee3e
...@@ -209,7 +209,7 @@ dict_mem_table_add_col( ...@@ -209,7 +209,7 @@ dict_mem_table_add_col(
col = (dict_col_t*) dict_table_get_nth_col(table, i); col = (dict_col_t*) dict_table_get_nth_col(table, i);
col->ind = i; col->ind = (unsigned int) i;
col->ord_part = 0; col->ord_part = 0;
col->mtype = (unsigned int) mtype; col->mtype = (unsigned int) mtype;
......
...@@ -7233,7 +7233,7 @@ ha_innobase::innobase_get_auto_increment( ...@@ -7233,7 +7233,7 @@ ha_innobase::innobase_get_auto_increment(
/*=====================================*/ /*=====================================*/
ulonglong* value) /* out: autoinc value */ ulonglong* value) /* out: autoinc value */
{ {
ulint error; ulong error;
*value = 0; *value = 0;
......
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