diff --git a/Source/Core/Core/GeckoCodeConfig.cpp b/Source/Core/Core/GeckoCodeConfig.cpp index 937b13a406..a096e722d2 100644 --- a/Source/Core/Core/GeckoCodeConfig.cpp +++ b/Source/Core/Core/GeckoCodeConfig.cpp @@ -36,7 +36,7 @@ std::vector DownloadCodes(std::string gametdb_id, bool* succeeded) std::vector gcodes; // parse the codes - std::istringstream ss(reinterpret_cast(response->data())); + std::istringstream ss(std::string(response->begin(), response->end())); std::string line;