From 36fdaa7d1625ab77e1848c86ab08d4246336d22f Mon Sep 17 00:00:00 2001 From: "konstantin@mysql.com" <> Date: Tue, 27 Jun 2006 15:39:43 +0400 Subject: [PATCH] Fix yet another place with an obsolete explicit cast to byte *. --- sql/set_var.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)