mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Correctness for const pointer casts.
This commit is contained in:
parent
69a4eedd3f
commit
e5da8e6260
@ -1966,7 +1966,7 @@ static HANDLE X11DRV_CLIPBOARD_SerializeMetafile(INT wformat, HANDLE hdata, LPDW
|
||||
memcpy(lpmfp, (LPVOID)hdata, sizeof(METAFILEPICT));
|
||||
wiresize = *lpcbytes - sizeof(METAFILEPICT);
|
||||
lpmfp->hMF = SetMetaFileBitsEx(wiresize,
|
||||
((char *)hdata) + sizeof(METAFILEPICT));
|
||||
((const char *)hdata) + sizeof(METAFILEPICT));
|
||||
size = GetMetaFileBitsEx(lpmfp->hMF, 0, NULL);
|
||||
GlobalUnlock(h);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user