comctl32: Avoid integer overflow (Coverity).
This commit is contained in:
parent
4ae0ef44d2
commit
b4ec412203
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue