Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHARByReference#getValue should only read one byte #1183

Merged
merged 1 commit into from Apr 25, 2020

Conversation

dbwiddis
Copy link
Contributor

Pointer#getChar fetches two bytes but this is a one-byte IntegerType.

See mailing list.

dbwiddis added a commit to dbwiddis/jna that referenced this pull request Apr 25, 2020
@matthiasblaesing
Copy link
Member

Looks sane - thank you.

@matthiasblaesing matthiasblaesing merged commit 884e08c into java-native-access:master Apr 25, 2020
@dbwiddis dbwiddis deleted the charbyref branch May 11, 2020 22:24
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.

None yet

2 participants