Skip to content

Commit

Permalink
Fixed compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
waltjohnson committed Apr 2, 2021
1 parent 44467e4 commit 0dcf851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DeviceLogSorted.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ bool cDeviceLogSorted::SaveData(p_data_hdr_t* dataHdr, const uint8_t* dataBuf)
}

// reset data header if it changed
if (dataBytes == UINT_MAX)
if (dataBytes == (int32_t)UINT_MAX)
{
currentChunk->m_subHdr.dHdr = *dataHdr;
}
Expand Down

0 comments on commit 0dcf851

Please sign in to comment.