Skip to content

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-riehm committed Jun 12, 2023
2 parents 5a04286 + 3097918 commit 9b237ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arrows/klv/klv_0806_user_defined_set.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ klv_0806_user_defined_data_type_id_format
::write_typed( klv_0806_user_defined_data_type_id const& value,
klv_write_iter_t& data, size_t length ) const
{
auto int_value = static_cast< uint8_t >( value.id & 0x3F ) |
static_cast< uint8_t >( value.type << 6 );
auto int_value =
static_cast< uint8_t >( ( value.id & 0x3F ) | ( value.type << 6 ) );
klv_write_int( int_value, data, length );
}

Expand Down
5 changes: 5 additions & 0 deletions doc/release-notes/release.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ Updates

Bug Fixes
---------

Arrows: KLV

* Fixed an integer promotion bug when writing the ST0806 user defined data
type / id field.

0 comments on commit 9b237ac

Please sign in to comment.