Author: tkreuzer
Date: Sat Oct 13 13:09:15 2012
New Revision: 57551
URL:
http://svn.reactos.org/svn/reactos?rev=57551&view=rev
Log:
[[NTDLL_APITEST}
Fix a bug
Modified:
trunk/rostests/apitests/ntdll/LdrEnumResources.c
Modified: trunk/rostests/apitests/ntdll/LdrEnumResources.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/LdrEnumRes…
==============================================================================
--- trunk/rostests/apitests/ntdll/LdrEnumResources.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/ntdll/LdrEnumResources.c [iso-8859-1] Sat Oct 13 13:09:15
2012
@@ -182,7 +182,7 @@
ResourceDirectory->VirtualAddress = FIELD_OFFSET(TEST_IMAGE, Resources);
ResourceDirectory->Size = sizeof(TEST_RESOURCES);
- strcpy(TestImage->SectionHeaders[0].Name, ".rsrc");
+ strcpy((char*)TestImage->SectionHeaders[0].Name, ".rsrc");
TestImage->SectionHeaders[0].Misc.VirtualSize = sizeof(TEST_IMAGE);
TestImage->SectionHeaders[0].VirtualAddress = FIELD_OFFSET(TEST_IMAGE,
Resources);
TestImage->SectionHeaders[0].SizeOfRawData = sizeof(TEST_IMAGE);