Correctness for const pointer casts.

This commit is contained in:
Eric Pouech 2005-04-18 09:51:03 +00:00 committed by Alexandre Julliard
parent 69a4eedd3f
commit e5da8e6260
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}