Skip to content

Commit

Permalink
Adding parenthses to correct build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmartin82 committed Oct 23, 2023
1 parent f46409e commit d5e9544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/ddsc/src/dds_qos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit d5e9544

Please sign in to comment.