Make w3seek happy.
authorFilip Navara <filip.navara@gmail.com>
Tue, 2 Aug 2005 21:22:40 +0000 (21:22 +0000)
committerFilip Navara <filip.navara@gmail.com>
Tue, 2 Aug 2005 21:22:40 +0000 (21:22 +0000)
svn path=/trunk/; revision=16981

reactos/tools/pefixup.c

index 1439b6f..678f349 100644 (file)
@@ -336,19 +336,19 @@ int main(int argc, char **argv)
            i < nt_header->OptionalHeader.NumberOfRvaAndSizes;\r
            i++, section_header++)\r
       {\r
-         if (!strcmp(section_header->Name, ".text") ||\r
-             !strcmp(section_header->Name, ".data") ||\r
-             !strcmp(section_header->Name, ".idata") ||\r
-             !strcmp(section_header->Name, ".bss"))\r
+         if (!strcmp((char*)section_header->Name, ".text") ||\r
+             !strcmp((char*)section_header->Name, ".data") ||\r
+             !strcmp((char*)section_header->Name, ".idata") ||\r
+             !strcmp((char*)section_header->Name, ".bss"))\r
          {\r
             section_header->Characteristics |= IMAGE_SCN_MEM_NOT_PAGED;\r
             section_header->Characteristics &= ~IMAGE_SCN_MEM_DISCARDABLE;\r
          }\r
-         else if (!strcmp(section_header->Name, "INIT"))\r
+         else if (!strcmp((char*)section_header->Name, "INIT"))\r
          {\r
             section_header->Characteristics |= IMAGE_SCN_MEM_DISCARDABLE;\r
          }\r
-         else if (!strcmp(section_header->Name, "PAGE"))\r
+         else if (!strcmp((char*)section_header->Name, "PAGE"))\r
          {\r
             section_header->Characteristics |= IMAGE_SCN_MEM_NOT_PAGED;\r
          }\r