1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Windows : reenable warning C4805 (unsafe mix of types in bool operations)

This commit is contained in:
Vladislav Vaintroub
2018-02-06 17:14:05 +00:00
parent 7bcf5e2907
commit d995dd2865
27 changed files with 43 additions and 43 deletions

View File

@ -906,7 +906,7 @@ bool date_add_interval(MYSQL_TIME *ltime, interval_type int_type,
{
long period, sign;
sign= (interval.neg == ltime->neg ? 1 : -1);
sign= (interval.neg == (bool)ltime->neg ? 1 : -1);
switch (int_type) {
case INTERVAL_SECOND: