[ros-diffs] [royce] 17823: msvc6 warning fix - cast return value of
SHAlloc()
royce at svn.reactos.com
royce at svn.reactos.com
Mon Sep 12 22:05:02 CEST 2005
msvc6 warning fix - cast return value of SHAlloc()
Modified: trunk/reactos/lib/shell32/brsfolder.c
_____
Modified: trunk/reactos/lib/shell32/brsfolder.c
--- trunk/reactos/lib/shell32/brsfolder.c 2005-09-12 19:58:34 UTC
(rev 17822)
+++ trunk/reactos/lib/shell32/brsfolder.c 2005-09-12 20:04:49 UTC
(rev 17823)
@@ -269,7 +269,7 @@
tvi.cChildren= pEnumIL ? 1 : 0;
tvi.mask |= TVIF_CHILDREN;
- lptvid = SHAlloc( sizeof(TV_ITEMDATA) );
+ lptvid = (LPTV_ITEMDATA)SHAlloc( sizeof(TV_ITEMDATA) );
if (!lptvid)
return NULL;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050912/9e83007b/attachment.html
More information about the Ros-diffs
mailing list