Fix warning: src/bin/lttng/utils.c: cast incompatible pointer
[lttng-tools.git] / src / bin / lttng / utils.c
index 885f498b73c72340dedc99ae67a3ca5d226ed8ab..52a2440e7dc486e24b94d85fb94aea7bda3feefa 100644 (file)
@@ -387,7 +387,7 @@ int check_relayd(void)
         * A successful connect means the relayd exists thus returning 0 else a
         * negative value means it does NOT exists.
         */
-       ret = connect(fd, &sin, sizeof(sin));
+       ret = connect(fd, (struct sockaddr *) &sin, sizeof(sin));
        if (ret < 0) {
                /* Not found. */
                ret = 0;
This page took 0.023428 seconds and 4 git commands to generate.