Fix warnings in sql/item_timefunc.cc which popped up during windows builds.

parent e857822a
...@@ -987,13 +987,13 @@ static bool get_interval_value(Item *args,interval_type int_type, ...@@ -987,13 +987,13 @@ static bool get_interval_value(Item *args,interval_type int_type,
interval->year= (ulong) value; interval->year= (ulong) value;
break; break;
case INTERVAL_QUARTER: case INTERVAL_QUARTER:
interval->month=value*3; interval->month= (ulong)(value*3);
break; break;
case INTERVAL_MONTH: case INTERVAL_MONTH:
interval->month= (ulong) value; interval->month= (ulong) value;
break; break;
case INTERVAL_WEEK: case INTERVAL_WEEK:
interval->day=value*7; interval->day= (ulong)(value*7);
break; break;
case INTERVAL_DAY: case INTERVAL_DAY:
interval->day= (ulong) value; interval->day= (ulong) value;
......
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