Skip to content

Commit

Permalink
change variable type to unsigned char
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnchain committed Dec 7, 2019
1 parent 31408d4 commit ab226ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DMREMB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void CDMREMB::putData(const unsigned char* data)
DMREMB[1U] = (data[18U] << 4) & 0xF0U;
DMREMB[1U] |= (data[19U] >> 4) & 0x0FU;

char code = CQR1676::decode(DMREMB);
unsigned char code = CQR1676::decode(DMREMB);

m_colorCode = (code >> 4) & 0x0FU;
m_PI = (code & 0x08U) == 0x08U;
Expand Down

0 comments on commit ab226ce

Please sign in to comment.