diff options
author | monty@mashka.mysql.fi <> | 2002-11-14 12:21:36 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2002-11-14 12:21:36 +0200 |
commit | 7a7033283674b13759d160f9b1cab0d8e5a2ea10 (patch) | |
tree | 65895353350fb5af2ad4caa816640113636e002d /sql/item_timefunc.cc | |
parent | 12c11c34b8b549913f1882fb9a46dbbacd88e9af (diff) | |
download | mariadb-git-7a7033283674b13759d160f9b1cab0d8e5a2ea10.tar.gz |
Portability fix when using -DBIG_TABLES
Diffstat (limited to 'sql/item_timefunc.cc')
-rw-r--r-- | sql/item_timefunc.cc | 2 |
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(<ime,0)) return 0; - week_format= args[1]->val_int(); + week_format= (uint) args[1]->val_int(); return (longlong) calc_week(<ime, (week_format & 2) != 0, (week_format & 1) == 0, |