mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-18 05:58:19 +01:00
+ static analysis issues fixed
This commit is contained in:
@@ -276,7 +276,7 @@ static int RecryptFileData(
|
||||
if(hf->SectorOffsets != NULL)
|
||||
{
|
||||
// Allocate secondary buffer for sectors copy
|
||||
DWORD * SectorOffsetsCopy = (DWORD *)STORM_ALLOC(BYTE, hf->SectorOffsets[0]);
|
||||
DWORD * SectorOffsetsCopy = STORM_ALLOC(DWORD, hf->SectorOffsets[0] / sizeof(DWORD));
|
||||
DWORD dwSectorOffsLen = hf->SectorOffsets[0];
|
||||
|
||||
if(SectorOffsetsCopy == NULL)
|
||||
|
||||
Reference in New Issue
Block a user