Skip to content

Commit 44875e2

Browse files
committed
Remove uncaught usage of ptr16
1 parent e801ab4 commit 44875e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

htscodecs/rANS_static32x16pr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,8 @@ unsigned char *rans_compress_O1_32x16(unsigned char *in,
489489
#ifdef HTSCODECS_LITTLE_ENDIAN
490490
memcpy(&ptr[-2], &ransN[z-k], 2);
491491
#else
492-
ptr16[-2] = ransN[z-k];
493-
ptr16[-1] = ransN[z-k]>>8;
492+
ptr[-2] = ransN[z-k];
493+
ptr[-1] = ransN[z-k]>>8;
494494
#endif
495495
ptr -= c * 2;
496496
//ransN[z-k] >>= c<<4;

0 commit comments

Comments
 (0)