Skip to content

Fix type mismatch warning#27909

Open
bkmgit wants to merge 2 commits into
chapel-lang:mainfrom
bkmgit:patch-1
Open

Fix type mismatch warning#27909
bkmgit wants to merge 2 commits into
chapel-lang:mainfrom
bkmgit:patch-1

Conversation

@bkmgit

@bkmgit bkmgit commented Oct 14, 2025

Copy link
Copy Markdown
Contributor

May fix #27908

Signed-off-by: Benson Muite <bkmgit@users.noreply.github.com>

@jabraham17 jabraham17 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is C code, you should just use (int)FI_DATATYPE_LAST to do the casts.

But I am not convinced this is the right thing to do. Why is the warning about an anonymous FI_DATATYPE_LAST? I see it defined in the libfabric headers properly

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.

[Bug]: Type mismatch warning

2 participants