Commit 2cd45add authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-6275: Fix signed/unsigned comparison

parent 991d5140
......@@ -1986,7 +1986,7 @@ int spider_db_mbase::connect(
} else if (!strcmp(tgt_host, "127.0.0.1") ||
!strcmp(tgt_host, glob_hostname))
{
if (tgt_port == *spd_mysqld_port)
if (tgt_port == long{*spd_mysqld_port})
{
my_printf_error(ER_SPIDER_SAME_SERVER_LINK_NUM,
ER_SPIDER_SAME_SERVER_LINK_STR2, MYF(0),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment