Commit 36fdaa7d authored by konstantin@mysql.com's avatar konstantin@mysql.com

Fix yet another place with an obsolete explicit cast to byte *.

parent 3cf181bb
...@@ -935,7 +935,7 @@ public: ...@@ -935,7 +935,7 @@ public:
uint name_length_arg, gptr data_arg) uint name_length_arg, gptr data_arg)
:name_length(name_length_arg), data(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); links->push_back(this);
} }
inline bool cmp(const char *name_cmp, uint length) inline bool cmp(const char *name_cmp, uint length)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment