Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix test on Big Endian 64bit, due to pointer size mismatch#1014

Merged
ailin-nemui merged 1 commit intoirssi:masterfrom
ailin-nemui:fix-be64
Feb 19, 2019
Merged

fix test on Big Endian 64bit, due to pointer size mismatch#1014
ailin-nemui merged 1 commit intoirssi:masterfrom
ailin-nemui:fix-be64

Conversation

@ailin-nemui
Copy link
Contributor

No description provided.

@ailin-nemui
Copy link
Contributor Author

the code was wrong (casting a small size ptr to a larger one)

@ailin-nemui
Copy link
Contributor Author

reported via debian build infrastructure / @rhonda

@ailin-nemui ailin-nemui added the auto-merge This PR is scheduled for merge if no further comments are opened label Feb 13, 2019
@ailin-nemui
Copy link
Contributor Author

@irssi/developers

@dwfreed
Copy link
Member

dwfreed commented Feb 13, 2019

The fix makes sense, but why are you making a block here? I'd just put the variable declaration at the top of the function with the others.

@ailin-nemui
Copy link
Contributor Author

it's just a test.. but you wouldn't want any access to the temporary buf_len, could lead to wrong usage

@ailin-nemui ailin-nemui merged commit 01ce66c into irssi:master Feb 19, 2019
@ailin-nemui ailin-nemui deleted the fix-be64 branch February 19, 2019 06:22
@ailin-nemui ailin-nemui added this to the 1.2.1 milestone Jun 28, 2019
ailin-nemui added a commit that referenced this pull request Apr 7, 2021
fix test on Big Endian 64bit, due to pointer size mismatch

(cherry picked from commit 01ce66c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge This PR is scheduled for merge if no further comments are opened z-affects-1.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants