mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
[USER32] Fix release build C4700 CORE-16287
This commit is contained in:
parent
2c4beeca8e
commit
5972c0c18b
|
@ -515,6 +515,7 @@ static UINT ICO_ExtractIconExW(
|
||||||
imageData = peimage + dataOffset;
|
imageData = peimage + dataOffset;
|
||||||
#ifdef __REACTOS__
|
#ifdef __REACTOS__
|
||||||
/* Calculate the size of color table */
|
/* Calculate the size of color table */
|
||||||
|
ZeroMemory(&bi, sizeof(bi));
|
||||||
CopyMemory(&bi, imageData, sizeof(BITMAPCOREHEADER));
|
CopyMemory(&bi, imageData, sizeof(BITMAPCOREHEADER));
|
||||||
if (bi.biBitCount <= 8)
|
if (bi.biBitCount <= 8)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue