summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.cc
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-07-04 23:06:19 +0300
committermonty@narttu.mysql.fi <>2003-07-04 23:06:19 +0300
commita3fe7c0959c6135383409a935d7105812bcaca83 (patch)
tree1da176a8e662fa899ecece2c7c7d6f9ee6e5dbc7 /sql/item_strfunc.cc
parent22bce83c1ba7b6860115327a46a6424345515f21 (diff)
downloadmariadb-git-a3fe7c0959c6135383409a935d7105812bcaca83.tar.gz
Remove compiler warnings
Simple cleanup of previous pull
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r--sql/item_strfunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index caaff4d1613..801b77ffcce 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -1558,7 +1558,7 @@ longlong Item_func_elt::val_int()
if ((tmp=(uint) item->val_int()) == 0 || tmp > arg_count)
return 0;
- int result= args[tmp-1]->val_int();
+ longlong result= args[tmp-1]->val_int();
null_value= args[tmp-1]->null_value;
return result;
}