More Win32 byte* vs. char* fixes.

This commit is contained in:
knielsen@mysql.com 2005-11-29 15:18:31 +01:00
parent 0da7c25528
commit e4cfee01d1

View File

@ -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++) for (i= 0; i < MYSQL_MAX_PLUGIN_TYPE_NUM; i++)
{ {
struct st_plugin_int *plugin= (st_plugin_int *) 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) if (plugin)
DBUG_RETURN(plugin); DBUG_RETURN(plugin);
} }
} }
else else
DBUG_RETURN((st_plugin_int *) 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); DBUG_RETURN(0);
} }