Skip to content

Commit

Permalink
Fix ClassCastException (fixes \#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
hierynomus committed May 10, 2022
1 parent bdaff88 commit 3e454de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/hierynomus/ntlm/messages/TargetInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void writeTo(Buffer.PlainBuffer buffer) {
break;
case MsvAvFlags:
buffer.putUInt16(4); // AvLen (2 bytes)
buffer.putUInt32((int) getAvPairObject(key), Endian.LE);
buffer.putUInt32((long) getAvPairObject(key), Endian.LE);
break;
case MsvAvTimestamp:
buffer.putUInt16(8); // AvLen (2 bytes)
Expand Down

0 comments on commit 3e454de

Please sign in to comment.