comctl32: Avoid integer overflow (Coverity).

This commit is contained in:
Marcus Meissner 2015-04-07 07:09:28 +02:00 committed by Alexandre Julliard
parent 4ae0ef44d2
commit b4ec412203
1 changed files with 1 additions and 1 deletions

View File

@ -488,5 +488,5 @@ ULONGLONG WINAPI DSA_GetSize(HDSA hdsa)
if (!hdsa) return 0;
return sizeof(*hdsa) + hdsa->nMaxCount*hdsa->nItemSize;
return sizeof(*hdsa) + (ULONGLONG)hdsa->nMaxCount*hdsa->nItemSize;
}