Commit 784191d9 authored by unknown's avatar unknown
Browse files

Compilation failure on Windows fixed.

parent d57d78ac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);
}