Skip to content

Commit

Permalink
Merge branch 'master' into icom
Browse files Browse the repository at this point in the history
  • Loading branch information
juribeparada committed Mar 10, 2018
2 parents 6d5a1e0 + 29248a9 commit 6fe8110
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NXDNLayer3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ void CNXDNLayer3::encode(unsigned char* bytes, unsigned int length, unsigned int
assert(bytes != NULL);

for (unsigned int i = 0U; i < length; i++, offset++) {
bool b = READ_BIT1(m_data, i);
WRITE_BIT1(bytes, offset, b);
bool b = READ_BIT1(m_data, offset);
WRITE_BIT1(bytes, i, b);
}
}

Expand Down

0 comments on commit 6fe8110

Please sign in to comment.