Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
usr3-1415 committed Mar 8, 2020
1 parent 277b430 commit 0e110e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asn1crt/asn1crt_encoding.c
Original file line number Diff line number Diff line change
@@ -1565,15 +1565,15 @@ void pushData(BitStream* pBitStrm, void* param) { (void)pBitStrm; (void)param; }


void bitstrean_fetch_data_if_required(BitStream* pStrm) {
if (pStrm->currentByte == pStrm->count) {
if (pStrm->currentByte == pStrm->count && pStrm->fetchDataPrm != NULL) {
fetchData(pStrm, pStrm->fetchDataPrm);
pStrm->currentByte = 0;
}
}


void bitstrean_push_data_if_required(BitStream* pStrm) {
if (pStrm->currentByte == pStrm->count) {
if (pStrm->currentByte == pStrm->count && pStrm->pushDataPrm != NULL) {
pushData(pStrm, pStrm->pushDataPrm);
pStrm->currentByte = 0;
}

0 comments on commit 0e110e5

Please sign in to comment.