Skip to content

Commit

Permalink
typo in cvt_num16ppc_num10 (d1 uninitialized)
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban committed Jan 12, 2013
1 parent afccf44 commit 0e5b46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packfile/pf_items.c
Expand Up @@ -1264,7 +1264,7 @@ cvt_num16ppc_num10(ARGOUT(unsigned char *dest), ARGIN(const unsigned char *src),

if (PF_NEEDS_ENDIANIZE(header)) {
#if HAS_INT64
*(Parrot_UInt8*)d2.c = bswap64(*(const Parrot_UInt8*)src);
*(Parrot_UInt8*)d1.c = bswap64(*(const Parrot_UInt8*)src);
*(Parrot_UInt8*)d2.c = bswap64(*(const Parrot_UInt8*)(src+8));
#else
SWAB_16(d1.c, src);
Expand Down

0 comments on commit 0e5b46a

Please sign in to comment.