diff --git a/source/src/worldio.cpp b/source/src/worldio.cpp index 794d6f6e..c5d88012 100644 --- a/source/src/worldio.cpp +++ b/source/src/worldio.cpp @@ -316,10 +316,10 @@ void checkmapdependencies(bool silent = false) // find required MediaPack (s) fo idx++; if(packn[idx]==-2) { - char* gp = strstr(key, "packages/"); + const char* gp = strstr(key, "packages/"); if(gp) { - char* fp = strstr(mpfc, gp); + const char* fp = strstr(mpfc, gp); if(fp) { packn[idx] = j + 1;