diff options
author | 2012-01-22 19:42:24 +0000 | |
---|---|---|
committer | 2012-01-22 19:42:24 +0000 | |
commit | d83925d546523086f6fa9e8e3ad6b47131eec1d5 (patch) | |
tree | f217cd331cdbfd676f0e07ac3034828b2ec8c2db /src/lib | |
parent | d1a7a2ad36f4ff8ff68c92564222a16366653346 (diff) |
fix compile on PPC OS X (nw)
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/util/chd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/util/chd.c b/src/lib/util/chd.c index 3ee971525ed..ccc5c058d3c 100644 --- a/src/lib/util/chd.c +++ b/src/lib/util/chd.c @@ -2074,6 +2074,9 @@ static chd_error hunk_write_from_memory(chd_file *chd, UINT32 hunknum, const UIN chd->maxhunk = hunknum; /* first compute the CRC of the original data */ + newentry.flags = 0; + newentry.length = 0; + newentry.offset = 0; newentry.crc = 0; if (src != NULL) newentry.crc = crc32(0, &src[0], chd->header.hunkbytes); |