Skip to content

Commit

Permalink
Bugfix: message_reader::prefix_size()
Browse files Browse the repository at this point in the history
Return `size_t` instead of `ssize_t`

Issue #43
  • Loading branch information
jamesdbrock committed Oct 10, 2021
1 parent 88d5dd6 commit be3bc50
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,16 @@ mostly irrelevent.
<table>
<caption>Change Log</caption>

<tr>
<th>2021-10-11</th>
<th>v1.1.1</th>
<td>

Bugfix: `message_reader::prefix_size()` return `size_t` instead of `ssize_t`.</td>

</td>
</tr>

<tr>
<th>2021-05-17</th>
<th>v1.1.0</th>
Expand Down
2 changes: 1 addition & 1 deletion include/hffix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2604,7 +2604,7 @@ class message_reader {
/*!
* \brief Returns the FIX version prefix BeginString field value size. (Example: returns 7 for "FIX.4.4")
*/
ssize_t prefix_size() const {
size_t prefix_size() const {
return prefix_end_ - buffer_ - 2;
}

Expand Down

0 comments on commit be3bc50

Please sign in to comment.