mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Remove hand-written decode_huffman_fast type pun
Type punning is undefined behavior.
This commit is contained in:
1 parent
b31ddaa052
commit
d076b6e800
1 file changed
+1
-1
@@ -458,7 +458,7 @@ outer_loop:
|
||||
// the overrun.
|
||||
if (dist_minus_1 + 1 >= 8) {
|
||||
while (1) {
|
||||
*((uint64_t*)(pdst)) = *((uint64_t*)(pback));
|
||||
memcpy(pdst, pback, 8);
|
||||
if (length <= 8) {
|
||||
pdst += length;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user