Skip to content

Commit

Permalink
fix EventHeaderV4Deserializer type bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyun committed Apr 1, 2015
1 parent 66c7a7c commit a7da41c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public EventHeaderV4 deserialize(ByteArrayInputStream inputStream) throws IOExce
header.setTimestamp(inputStream.readLong(4) * 1000L);
header.setEventType(getEventType(inputStream.readInteger(1)));
header.setServerId(inputStream.readLong(4));
header.setEventLength(inputStream.readInteger(4));
header.setEventLength(inputStream.readLong(4));
header.setNextPosition(inputStream.readLong(4));
header.setFlags(inputStream.readInteger(2));
return header;
Expand Down

0 comments on commit a7da41c

Please sign in to comment.