Skip to content

Document CI failure in GenerateFloatRandom function - #1157

Merged
philburk merged 3 commits into
masterfrom
ocean-ci-failure
Jun 25, 2026
Merged

Document CI failure in GenerateFloatRandom function#1157
philburk merged 3 commits into
masterfrom
ocean-ci-failure

Conversation

@philburk

Copy link
Copy Markdown
Collaborator

Added comment regarding CI failure due to implicit conversion.

This PR was created so we can fix the CI failure.

Added comment regarding CI failure due to implicit conversion.

This PR was created so we can fix the CI failure.
@philburk

Copy link
Copy Markdown
Collaborator Author

CI "CMake build / macOS-Clang"
reports this error:

Error: /Users/runner/work/portaudio/portaudio/examples/paex_ocean_shore.c:395:58: error: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Werror,-Wimplicit-const-int-float-conversion]
395 | return minValue + ((maxValue - minValue) * rand()) / RAND_MAX;
| ~ ^~~~~~~~

@philburk philburk left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Trying to fix the error through a GitHub suggestion.

Comment thread examples/paex_ocean_shore.c Outdated
@philburk

Copy link
Copy Markdown
Collaborator Author

My last commit fixed the Mac OS CI builds.
Now I will remove the code comment.

Removed comment about CI failure regarding implicit conversion.
@philburk
philburk requested a review from RossBencina June 25, 2026 22:50
@philburk philburk added this to the V19.8 milestone Jun 25, 2026
@philburk philburk added the P1 Priority: Highest label Jun 25, 2026
@philburk philburk self-assigned this Jun 25, 2026
@philburk

Copy link
Copy Markdown
Collaborator Author

I made this a P1 high priority because CI was broken.

@philburk
philburk merged commit bfc868a into master Jun 25, 2026
32 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P1 Priority: Highest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants