summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.local>2007-03-27 21:57:33 +0400
committerunknown <kostja@bodhi.local>2007-03-27 21:57:33 +0400
commit587942a792f5c31d0c5fc900dcacb454a0000e13 (patch)
treeea5dad826eb65434df56ccc0d4b4a708faaf057d /mysys
parentc601210ba48068b6287dc71b7ddfbd9997f0c54f (diff)
downloadmariadb-git-587942a792f5c31d0c5fc900dcacb454a0000e13.tar.gz
Fix warnings.
include/typelib.h: Fix a compile warning. char *x is actually updated if it's found in the typelib (a peculiar way to return canonical value in case of a partial match) mysys/typelib.c: Fix a warning. sql/item_func.cc: Fix a compile-time warning.
Diffstat (limited to 'mysys')
-rw-r--r--mysys/typelib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/typelib.c b/mysys/typelib.c
index 97b03b72b24..dc9f0850bbc 100644
--- a/mysys/typelib.c
+++ b/mysys/typelib.c
@@ -42,7 +42,7 @@
>0 Offset+1 in typelib for matched string
*/
-int find_type(const char *x, const TYPELIB *typelib, uint full_name)
+int find_type(char *x, const TYPELIB *typelib, uint full_name)
{
int find,pos,findpos;
reg1 my_string i;