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:
unknown 2004-07-16 07:35:41 +04:00
parent 80469ba4a4
commit e746304663

View file

@ -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;