Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dbwiddis committed Apr 25, 2020
1 parent 4b3b7ee commit 88f2cfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Features

Bug Fixes
---------

* [#1183](https://github.com/java-native-access/jna/pull/1183): `c.s.j.p.win32.WinDef.CHARByReference#getValue` should only read one byte - [@dbwiddis](https://github.com/dbwiddis).

Release 5.5.0
=============
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,7 @@ public void setValue(CHAR value) {
* @return the value
*/
public CHAR getValue() {
return new CHAR(getPointer().getChar(0));
return new CHAR(getPointer().getByte(0));
}

@Override
Expand Down

0 comments on commit 88f2cfc

Please sign in to comment.