mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fix warnings in sql/item_timefunc.cc which popped up during windows builds.
sql/item_timefunc.cc: Fix warnings which popped up during windows builds.
This commit is contained in:
parent
80469ba4a4
commit
e746304663
1 changed files with 2 additions and 2 deletions
|
@ -987,13 +987,13 @@ static bool get_interval_value(Item *args,interval_type int_type,
|
|||
interval->year= (ulong) value;
|
||||
break;
|
||||
case INTERVAL_QUARTER:
|
||||
interval->month=value*3;
|
||||
interval->month= (ulong)(value*3);
|
||||
break;
|
||||
case INTERVAL_MONTH:
|
||||
interval->month= (ulong) value;
|
||||
break;
|
||||
case INTERVAL_WEEK:
|
||||
interval->day=value*7;
|
||||
interval->day= (ulong)(value*7);
|
||||
break;
|
||||
case INTERVAL_DAY:
|
||||
interval->day= (ulong) value;
|
||||
|
|
Loading…
Reference in a new issue