Make w3seek happy.
[reactos.git] / 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