diff --git a/src/pefile.cpp b/src/pefile.cpp index ed9d0300..fcbed80e 100644 --- a/src/pefile.cpp +++ b/src/pefile.cpp @@ -1343,8 +1343,8 @@ static bool match(unsigned itype, const unsigned char *ntype, // FIXME this comparison is not too exact while (1) { - char *delim1 = strchr(keep, '/'); - char *delim2 = strchr(keep, ','); + char const *delim1 = strchr(keep, '/'); + char const *delim2 = strchr(keep, ','); if (helper::match(itype, ntype, keep)) { if (!delim1)