Compilation failure on Windows fixed.

This commit is contained in:
unknown 2004-07-19 15:12:23 -07:00
parent d57d78ac10
commit 784191d9ce

View File

@ -224,7 +224,8 @@ void del_dbopt(const char *path)
{
my_dbopt_t *opt;
rw_wrlock(&LOCK_dboptions);
if ((opt= (my_dbopt_t *)hash_search(&dboptions, path, strlen(path))))
if ((opt= (my_dbopt_t *)hash_search(&dboptions, (const byte*) path,
strlen(path))))
hash_delete(&dboptions, (byte*) opt);
rw_unlock(&LOCK_dboptions);
}