Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Commit

Permalink
fix build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
GangZhuo committed Mar 20, 2017
1 parent 578c75a commit 1374c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcs/pcs_passport_dv.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ static void buf_encode_xor(char *buf, int len)
static void buf_decode_xor(char *buf, int len)
{
unsigned char *p = (unsigned char*)buf + len - 1;
while (p > buf) {
while (p > (unsigned char*)buf) {
*p = (*p ^ *(p - 1)) & 0xFF;
p--;
}
Expand Down

0 comments on commit 1374c45

Please sign in to comment.