diff --git a/core/src/core.cpp b/core/src/core.cpp index 7553edaf..55b696b3 100644 --- a/core/src/core.cpp +++ b/core/src/core.cpp @@ -150,8 +150,8 @@ int sdrpp_main(int argc, char *argv[]) { defConfig["modulesDirectory"] = "./modules"; defConfig["resourcesDirectory"] = "./res"; #else - defConfig["modulesDirectory"] = (std::string)INSTALL_PREFIX + "/lib/sdrpp/plugins"; - defConfig["resourcesDirectory"] = (std::string)INSTALL_PREFIX + "/share/sdrpp"; + defConfig["modulesDirectory"] = INSTALL_PREFIX "/lib/sdrpp/plugins"; + defConfig["resourcesDirectory"] = INSTALL_PREFIX "/share/sdrpp"; #endif // Load config