summaryrefslogtreecommitdiff
path: root/sql/set_var.h
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2006-06-27 15:39:43 +0400
committerunknown <konstantin@mysql.com>2006-06-27 15:39:43 +0400
commit44672ae5652ffa1eb148ed94b23f45d5a0f829e9 (patch)
tree198364c947508bec260c6ce0c922337462491635 /sql/set_var.h
parente3ef15ea37dbbd0e999fa7f3fb0ca7bddc4a11cf (diff)
downloadmariadb-git-44672ae5652ffa1eb148ed94b23f45d5a0f829e9.tar.gz
Fix yet another place with an obsolete explicit cast to byte *.
sql/set_var.h: Fix yet another place with an obsolete explicit cast to byte *
Diffstat (limited to 'sql/set_var.h')
-rw-r--r--sql/set_var.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/set_var.h b/sql/set_var.h
index 8e5a94b1e1b..b048428219d 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -935,7 +935,7 @@ public:
uint name_length_arg, gptr data_arg)
:name_length(name_length_arg), data(data_arg)
{
- name= my_strdup_with_length((byte*) name_arg, name_length, MYF(MY_WME));
+ name= my_strdup_with_length(name_arg, name_length, MYF(MY_WME));
links->push_back(this);
}
inline bool cmp(const char *name_cmp, uint length)