Commit b4ec4122 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

comctl32: Avoid integer overflow (Coverity).

parent 4ae0ef44
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment