mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
Cast away compiler warning on Windows.
storage/innobase/handler/ha_innodb.cc: Cast away a compiler warning; some functions return ulong or ulint for errors, and some use int. Let's hope these all fit in an int.
This commit is contained in:
parent
bdffce056b
commit
8680f86e46
1 changed files with 1 additions and 1 deletions
|
|
@ -3538,7 +3538,7 @@ set_max_autoinc:
|
|||
err = innobase_set_max_autoinc(auto_inc);
|
||||
|
||||
if (err != DB_SUCCESS) {
|
||||
error = err;
|
||||
error = (int) err;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue