mscms: Fixed bad sizeof() (Coverity).
This commit is contained in:
parent
483559b3e0
commit
aca1b275aa
|
@ -238,7 +238,7 @@ HTRANSFORM WINAPI CreateMultiProfileTransform( PHPROFILE profiles, DWORD nprofil
|
|||
if (out_format == TYPE_Lab_16) cmsconvert = cmsCreateLabProfile( NULL );
|
||||
}
|
||||
|
||||
cmsprofiles = HeapAlloc( GetProcessHeap(), 0, (nprofiles + 1) * sizeof(cmsHPROFILE *) );
|
||||
cmsprofiles = HeapAlloc( GetProcessHeap(), 0, (nprofiles + 1) * sizeof(cmsHPROFILE) );
|
||||
if (cmsprofiles)
|
||||
{
|
||||
cmsprofiles[0] = profile0->cmsprofile;
|
||||
|
|
Loading…
Reference in New Issue