Silence some bogus coverity warnings.

This commit is contained in:
Markus F.X.J. Oberhumer
2016-12-21 19:03:01 +01:00
parent 2a6bbcaf8f
commit 0ccbc5f139
10 changed files with 42 additions and 41 deletions
+1 -1
View File
@@ -709,7 +709,7 @@ void PackPs1::unpack(OutputFile *fo)
{
// restore orig exec hdr
memcpy(&oh, &ih, sizeof(ih));
memcpy(&oh.epc, &bh, SZ_IH_BKUP);
memcpy((void *) &oh.epc, &bh, SZ_IH_BKUP);
// check for removed sector alignment
assert(oh.tx_len >= ph.u_len);