From e4cfee01d14f3248f5f10fa1eddd5cfde5bc81a8 Mon Sep 17 00:00:00 2001 From: "knielsen@mysql.com" <> Date: Tue, 29 Nov 2005 15:18:31 +0100 Subject: [PATCH] More Win32 byte* vs. char* fixes. --- sql/sql_plugin.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc index 5bb9f11117c..7e78b58e6cf 100644 --- a/sql/sql_plugin.cc +++ b/sql/sql_plugin.cc @@ -208,14 +208,14 @@ static struct st_plugin_int *plugin_find_internal(LEX_STRING *name, int type) for (i= 0; i < MYSQL_MAX_PLUGIN_TYPE_NUM; i++) { struct st_plugin_int *plugin= (st_plugin_int *) - hash_search(&plugin_hash[i], name->str, name->length); + hash_search(&plugin_hash[i], (const byte *)name->str, name->length); if (plugin) DBUG_RETURN(plugin); } } else DBUG_RETURN((st_plugin_int *) - hash_search(&plugin_hash[type], name->str, name->length)); + hash_search(&plugin_hash[type], (const byte *)name->str, name->length)); DBUG_RETURN(0); }