From d5e95448351417f7c08023c4c665d8e257d43fdb Mon Sep 17 00:00:00 2001 From: Geoff Martin Date: Mon, 23 Oct 2023 11:44:28 +0100 Subject: [PATCH] Adding parenthses to correct build error. --- src/core/ddsc/src/dds_qos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/ddsc/src/dds_qos.c b/src/core/ddsc/src/dds_qos.c index 872973ddf5..801913cd17 100644 --- a/src/core/ddsc/src/dds_qos.c +++ b/src/core/ddsc/src/dds_qos.c @@ -936,8 +936,8 @@ dds_return_t dds_ensure_valid_psmx_instances (dds_qos_t *qos, dds_psmx_endpoint_ const char *supported_psmx[DDS_MAX_PSMX_INSTANCES]; // Check sertype has operations required by PSMX - if (forwhat == DDS_PSMX_ENDPOINT_TYPE_WRITER && stype->serdata_ops->from_loaned_sample || - forwhat == DDS_PSMX_ENDPOINT_TYPE_READER && stype->serdata_ops->from_psmx) + if ((forwhat == DDS_PSMX_ENDPOINT_TYPE_WRITER && stype->serdata_ops->from_loaned_sample) || + (forwhat == DDS_PSMX_ENDPOINT_TYPE_READER && stype->serdata_ops->from_psmx)) { if (!(qos->present & DDSI_QP_PSMX)) {