diff options
author | unknown <knielsen@mysql.com> | 2005-11-29 15:18:31 +0100 |
---|---|---|
committer | unknown <knielsen@mysql.com> | 2005-11-29 15:18:31 +0100 |
commit | b6547d09d637bf971a0e895da6af2bef67307a56 (patch) | |
tree | 8a29bf75c828c3bcc32304ec8250817d8651c7a7 /sql/sql_plugin.cc | |
parent | 27555e54705564ade7b576862d94303301fc298b (diff) | |
download | mariadb-git-b6547d09d637bf971a0e895da6af2bef67307a56.tar.gz |
More Win32 byte* vs. char* fixes.
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r-- | sql/sql_plugin.cc | 4 |
1 files 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); } |