Skip to content

CHARByReference#getValue should only read one byte#1183

Merged
matthiasblaesing merged 1 commit intojava-native-access:masterfrom
dbwiddis:charbyref
Apr 25, 2020
Merged

CHARByReference#getValue should only read one byte#1183
matthiasblaesing merged 1 commit intojava-native-access:masterfrom
dbwiddis:charbyref

Conversation

@dbwiddis
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants