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:
@ -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:
|
||||
|
Reference in New Issue
Block a user