--- trunk/reactos/lib/shell32/shell32_main.h 2005-09-12 20:04:49 UTC (rev 17823)
+++ trunk/reactos/lib/shell32/shell32_main.h 2005-09-12 20:07:29 UTC (rev 17824)
@@ -179,7 +179,7 @@
};
inline static void __SHCloneStrA(char ** target,const char * source)
{
- *target = SHAlloc(strlen(source)+1);
+ *target = (char*)SHAlloc(strlen(source)+1);
strcpy(*target, source);
}
@@ -192,7 +192,7 @@
inline static void __SHCloneStrW(WCHAR ** target, const WCHAR * source)
{
- *target = SHAlloc( (strlenW(source)+1) * sizeof(WCHAR) );
+ *target = (WCHAR*)SHAlloc( (strlenW(source)+1) * sizeof(WCHAR) );
strcpyW(*target, source);
}