Browse Source

Update sinfl.h

pull/3452/head
Ray 1 year ago
parent
commit
da9bc564d2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/external/sinfl.h

+ 1
- 1
src/external/sinfl.h View File

@ -223,7 +223,7 @@ sinfl_refill(struct sinfl *s) {
//---------------------------------------------------
//s->bitbuf |= sinfl_read64(s->bitptr) << s->bitcnt;
unsigned long long n = 0;
memcpy(&n, p, s->bitptr + 8 < s->bitend ? 8 : s->bitend - s->bitptr);
memcpy(&n, span>->bitptr, s->bitptr + 8 < s->bitend ? 8 : s->bitend - s->bitptr);
s->bitbuf |= n << s->bitcnt;
//---------------------------------------------------

Loading…
Cancel
Save