remove the cause of a FreeBSD warning

This commit is contained in:
Mike Brady
2020-06-22 12:01:26 +01:00
parent 8e215cb344
commit 4fad3d24b1
+1 -1
View File
@@ -556,7 +556,7 @@ void *dacp_monitor_thread_code(__attribute__((unused)) void *na) {
pthread_cleanup_pop(1);
if (result == 490) { // 490 means no port was specified
if ((dacp_server.dacp_id != NULL) && (strlen(dacp_server.dacp_id) != 0)) {
if (((char *)dacp_server.dacp_id != NULL) && (strlen(dacp_server.dacp_id) != 0)) {
// debug(1,"mdns_dacp_monitor_set_id");
mdns_dacp_monitor_set_id(dacp_server.dacp_id);
}