Fix wrong size for memset

This commit is contained in:
baldurk
2020-08-20 15:26:02 +01:00
parent c01dd73bf6
commit 274185f808
@@ -649,7 +649,7 @@ void DXBCContainer::GetHash(uint32_t hash[4], const void *ByteCode, size_t Bytec
FileHeader *header = (FileHeader *)ByteCode;
memset(hash, 0, sizeof(hash));
memset(hash, 0, sizeof(uint32_t) * 4);
if(header->fourcc != FOURCC_DXBC)
return;