Skip to content

fix: json signedness fixes#3651

Merged
ianna merged 1 commit intomainfrom
ianna/fix_json_signedness_patch
Sep 16, 2025
Merged

fix: json signedness fixes#3651
ianna merged 1 commit intomainfrom
ianna/fix_json_signedness_patch

Conversation

@ianna
Copy link
Copy Markdown
Member

@ianna ianna commented Sep 16, 2025

Changes are explicit casts only and a few small cleanups to make the code compile without the -Wsign-conversion warnings.

@ianna ianna requested a review from ariostas September 16, 2025 09:05
@github-actions
Copy link
Copy Markdown

The documentation preview is ready to be viewed at http://preview.awkward-array.org.s3-website.us-east-1.amazonaws.com/PR3651

Copy link
Copy Markdown
Member

@ariostas ariostas left a comment

Choose a reason for hiding this comment

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

Looks good to me. I guess ideally one would change the types to size_t, but I don't know the details, and maybe negative values are used and have special meaning.

@ianna
Copy link
Copy Markdown
Member Author

ianna commented Sep 16, 2025

Looks good to me. I guess ideally one would change the types to size_t, but I don't know the details, and maybe negative values are used and have special meaning.

Thanks, @ariostas ! yes, we use -1 index as missing data.

@ianna ianna merged commit 7833d2c into main Sep 16, 2025
45 checks passed
@ianna ianna deleted the ianna/fix_json_signedness_patch branch September 16, 2025 14:58
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.

2 participants