Skip to content

Conversation

eugen15
Copy link
Contributor

@eugen15 eugen15 commented Sep 6, 2023

Description

Motivation and Context

How Has This Been Tested?

Types of changes

Checklist:

  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@eugen15 eugen15 marked this pull request as draft September 6, 2023 16:45
offset += sizeof(messageCode);
memcpy(buffer.data() + offset, &messageCodeDescSize, sizeof(messageCodeDescSize));
offset += sizeof(messageCodeDescSize);
memcpy(buffer.data() + offset, messageCodeDesc.data(), messageCode);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a typo here. Last parameter should be size, but it is messageCode

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be messageCodeDescSize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants