Remove hand-written decode_huffman_fast type pun

Type punning is undefined behavior.
This commit is contained in:
Nigel Tao committed 2019-01-26 10:48:14 +11:00
1 parent b31ddaa052
commit d076b6e800
1 file changed
+1 -1
@@ -458,7 +458,7 @@ outer_loop:
// the overrun. // the overrun.
if (dist_minus_1 + 1 >= 8) { if (dist_minus_1 + 1 >= 8) {
while (1) { while (1) {
*((uint64_t*)(pdst)) = *((uint64_t*)(pback)); memcpy(pdst, pback, 8);
if (length <= 8) { if (length <= 8) {
pdst += length; pdst += length;
break; break;