Skip to content

Fix[ntsa_abstract.cpp]: full range for unsigned short conversion - #412

Open
678098 wants to merge 1 commit into
bloomberg:mainfrom
678098:patch-33
Open

Fix[ntsa_abstract.cpp]: full range for unsigned short conversion#412
678098 wants to merge 1 commit into
bloomberg:mainfrom
678098:patch-33

Conversation

@678098

@678098 678098 commented May 14, 2026

Copy link
Copy Markdown
Contributor

No description provided.


const bsl::uint64_t value = d_rep.get(0);

if (value > static_cast<bsl::uint64_t>(bsl::numeric_limits<short>::max()))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This limits unsigned short values to 32767

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.

1 participant