Skip to content

Commit

Permalink
Update INTEGER.c
Browse files Browse the repository at this point in the history
Address compiler warning
  • Loading branch information
mouse07410 authored Mar 20, 2024
1 parent c51e10a commit 49b2161
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion skeletons/INTEGER.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,8 @@ asn_imax2INTEGER(INTEGER_t *st, intmax_t value) {
break;
}
/* Copy the integer body */
for(bp = buf, pend1 += add; p != pend1; p += add)
pend1 += add;
for(bp = buf; p != pend1; p += add)
*bp++ = *p;

if(st->buf) FREEMEM(st->buf);
Expand Down

0 comments on commit 49b2161

Please sign in to comment.