Make w3seek happy. Modified: trunk/reactos/tools/pefixup.c _____
Modified: trunk/reactos/tools/pefixup.c --- trunk/reactos/tools/pefixup.c 2005-08-02 21:16:50 UTC (rev 16980) +++ trunk/reactos/tools/pefixup.c 2005-08-02 21:22:40 UTC (rev 16981) @@ -336,19 +336,19 @@
i < nt_header->OptionalHeader.NumberOfRvaAndSizes; i++, section_header++) { - if (!strcmp(section_header->Name, ".text") || - !strcmp(section_header->Name, ".data") || - !strcmp(section_header->Name, ".idata") || - !strcmp(section_header->Name, ".bss")) + if (!strcmp((char*)section_header->Name, ".text") || + !strcmp((char*)section_header->Name, ".data") || + !strcmp((char*)section_header->Name, ".idata") || + !strcmp((char*)section_header->Name, ".bss")) { section_header->Characteristics |= IMAGE_SCN_MEM_NOT_PAGED; section_header->Characteristics &= ~IMAGE_SCN_MEM_DISCARDABLE; } - else if (!strcmp(section_header->Name, "INIT")) + else if (!strcmp((char*)section_header->Name, "INIT")) { section_header->Characteristics |= IMAGE_SCN_MEM_DISCARDABLE; } - else if (!strcmp(section_header->Name, "PAGE")) + else if (!strcmp((char*)section_header->Name, "PAGE")) { section_header->Characteristics |= IMAGE_SCN_MEM_NOT_PAGED; }