mirror of
https://github.com/reactos/reactos.git
synced 2025-07-25 17:53:48 +00:00
cast return value of RtlAllocateHeap to proper type
svn path=/trunk/; revision=5303
This commit is contained in:
parent
e170c778de
commit
0d53ee5681
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: stubsa.c,v 1.17 2003/07/21 19:21:48 royce Exp $
|
/* $Id: stubsa.c,v 1.18 2003/07/28 19:37:13 royce Exp $
|
||||||
*
|
*
|
||||||
* reactos/lib/gdi32/misc/stubs.c
|
* reactos/lib/gdi32/misc/stubs.c
|
||||||
*
|
*
|
||||||
|
@ -743,7 +743,7 @@ GetEnhMetaFileDescriptionA(
|
||||||
if ( lpszDescription && cchBuffer )
|
if ( lpszDescription && cchBuffer )
|
||||||
{
|
{
|
||||||
hHeap = RtlGetProcessHeap();
|
hHeap = RtlGetProcessHeap();
|
||||||
lpszDescriptionW = RtlAllocateHeap ( hHeap, 0, cchBuffer );
|
lpszDescriptionW = (LPWSTR)RtlAllocateHeap ( hHeap, 0, cchBuffer );
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = W32kGetEnhMetaFileDescription ( hemf, cchBuffer, lpszDescriptionW );
|
rc = W32kGetEnhMetaFileDescription ( hemf, cchBuffer, lpszDescriptionW );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue