mscms: Fixed bad sizeof() (Coverity).

This commit is contained in:
Marcus Meissner 2011-04-02 09:28:18 +02:00 committed by Alexandre Julliard
parent 483559b3e0
commit aca1b275aa
1 changed files with 1 additions and 1 deletions

View File

@ -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;