Skip to content

Commit

Permalink
Fix type used in initialisation descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
eboasson committed Mar 28, 2024
1 parent cea9a80 commit c7e7f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ddsc/tests/cdrstream.c
Expand Up @@ -2235,7 +2235,7 @@ CU_Test(ddsc_cdrstream, init_sequence_in_external_struct)
};
struct dds_cdrstream_desc descr;
memset (&descr, 0, sizeof (descr));
dds_cdrstream_desc_init (&descr, &dds_cdrstream_default_allocator, sizeof (MutStructSeq), dds_alignof (MutStructSeq), 0, ExternMutStructSeq_ops, NULL, 0);
dds_cdrstream_desc_init (&descr, &dds_cdrstream_default_allocator, sizeof (ExternMutStructSeq), dds_alignof (ExternMutStructSeq), 0, ExternMutStructSeq_ops, NULL, 0);
uint32_t actual_size;
const bool byteswap = (DDSRT_ENDIAN != DDSRT_LITTLE_ENDIAN);
const bool norm_ok = dds_stream_normalize (cdr, sizeof (cdr), byteswap, DDSI_RTPS_CDR_ENC_VERSION_2, &descr, false, &actual_size);
Expand Down

0 comments on commit c7e7f15

Please sign in to comment.