diff --git a/desmume/src/path.h b/desmume/src/path.h index 53e958e82..681f9a61a 100644 --- a/desmume/src/path.h +++ b/desmume/src/path.h @@ -249,7 +249,7 @@ public: if(action == GET) { std::string thePath = pathToCopy; - std::string relativePath = "." + DIRECTORY_DELIMITER_CHAR; + std::string relativePath = (std::string)"." + DIRECTORY_DELIMITER_CHAR; int len = (int)thePath.size()-1;