diff --git a/src/main.cpp b/src/main.cpp index 2a6b9f6..ebe0e62 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -714,8 +714,8 @@ int main(int argc, char** argv) if (modelname == PATHSTR("realesr-animevideov3")) { - sprintf(parampath, "%s/%s-x%s.param", model.c_str(), modelname.c_str(), scale.c_str()); - sprintf(modelpath, "%s/%s-x%s.bin", model.c_str(), modelname.c_str(), scale.c_str()); + sprintf(parampath, "%s/%s-x%s.param", model.c_str(), modelname.c_str(), std::to_string(scale).c_str()); + sprintf(modelpath, "%s/%s-x%s.bin", model.c_str(), modelname.c_str(), std::to_string(scale).c_str()); } else{ sprintf(parampath, "%s/%s.param", model.c_str(), modelname.c_str());