Skip to content

GH-38556: [C++] Add missing explicit size_t cast for i386 - #38557

Merged
kou merged 1 commit into
apache:mainfrom
kou:cpp-i386
Nov 6, 2023
Merged

GH-38556: [C++] Add missing explicit size_t cast for i386#38557
kou merged 1 commit into
apache:mainfrom
kou:cpp-i386

Conversation

@kou

@koukou commented Nov 2, 2023

Copy link
Copy Markdown
Member

Rationale for this change

We need explicit cast for int64_t to size_t conversion for i386 environment.

This was introduced by GH-37792.

What changes are included in this PR?

Add explicit cast.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

@kou

kou commented Nov 2, 2023

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit test-debian-cpp-i386

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #38556has been automatically assigned in GitHub to PR creator.

@github-actions

This comment was marked as outdated.

@koukou changed the title GH-38556: [C++] Add missing explicit int64_t cast for i386GH-38556: [C++] Add missing explicit size_t cast for i386Nov 2, 2023
@kou

kou commented Nov 2, 2023

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit test-debian-11-cpp-i386

@github-actions

Copy link
Copy Markdown

Revision: f1bc62c

Submitted crossbow builds: ursacomputing/crossbow @ actions-bc4e3c2759

TaskStatus
test-debian-11-cpp-i386Github Actions

@kou

kou commented Nov 6, 2023

Copy link
Copy Markdown
MemberAuthor

+1

@kou
kou merged commit 9a364b8 into apache:mainNov 6, 2023
@kou
kou deleted the cpp-i386 branch November 6, 2023 08:31
@koukou removed the awaiting committer review Awaiting committer review label Nov 6, 2023
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit 9a364b8.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them.

loicalleyne pushed a commit to loicalleyne/arrow that referenced this pull request Nov 13, 2023
…he#38557)
### Rationale for this change
We need explicit cast for `int64_t` to `size_t` conversion for i386 environment.
This was introduced by apacheGH-37792.
### What changes are included in this PR?
Add explicit cast.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* Closes: apache#38556
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
dgreiss pushed a commit to dgreiss/arrow that referenced this pull request Feb 19, 2024
…he#38557)
### Rationale for this change
We need explicit cast for `int64_t` to `size_t` conversion for i386 environment.
This was introduced by apacheGH-37792.
### What changes are included in this PR?
Add explicit cast.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* Closes: apache#38556
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI][C++] test-debian-11-cpp-i386 failed by long long int to size_t conversion

1 participant

@kou