summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-11-14 12:21:36 +0200
committermonty@mashka.mysql.fi <>2002-11-14 12:21:36 +0200
commit7a7033283674b13759d160f9b1cab0d8e5a2ea10 (patch)
tree65895353350fb5af2ad4caa816640113636e002d /sql/item_timefunc.cc
parent12c11c34b8b549913f1882fb9a46dbbacd88e9af (diff)
downloadmariadb-git-7a7033283674b13759d160f9b1cab0d8e5a2ea10.tar.gz
Portability fix when using -DBIG_TABLES
Diffstat (limited to 'sql/item_timefunc.cc')
-rw-r--r--sql/item_timefunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc
index 558dd807d80..ccbba3777c4 100644
--- a/sql/item_timefunc.cc
+++ b/sql/item_timefunc.cc
@@ -192,7 +192,7 @@ longlong Item_func_week::val_int()
TIME ltime;
if (get_arg0_date(&ltime,0))
return 0;
- week_format= args[1]->val_int();
+ week_format= (uint) args[1]->val_int();
return (longlong) calc_week(&ltime,
(week_format & 2) != 0,
(week_format & 1) == 0,