ole: Fix compiler warnings with flag -Wcast-qual.
This commit is contained in:
parent
2b8f11b8c0
commit
feb257dce0
|
@ -1273,7 +1273,7 @@ static HRESULT OLEPictureImpl_LoadEnhMetafile(OLEPictureImpl *This,
|
|||
static HRESULT OLEPictureImpl_LoadAPM(OLEPictureImpl *This,
|
||||
const BYTE *data, ULONG size)
|
||||
{
|
||||
APM_HEADER *header = (APM_HEADER *)data;
|
||||
const APM_HEADER *header = (const APM_HEADER *)data;
|
||||
HMETAFILE hmf;
|
||||
|
||||
if (size < sizeof(APM_HEADER))
|
||||
|
|
Loading…
Reference in New Issue