Skip to content

Commit 37026f4

Browse files
committed
update int to string
1 parent 8f32b50 commit 37026f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,8 +714,8 @@ int main(int argc, char** argv)
714714

715715
if (modelname == PATHSTR("realesr-animevideov3"))
716716
{
717-
sprintf(parampath, "%s/%s-x%s.param", model.c_str(), modelname.c_str(), scale.c_str());
718-
sprintf(modelpath, "%s/%s-x%s.bin", model.c_str(), modelname.c_str(), scale.c_str());
717+
sprintf(parampath, "%s/%s-x%s.param", model.c_str(), modelname.c_str(), std::to_string(scale).c_str());
718+
sprintf(modelpath, "%s/%s-x%s.bin", model.c_str(), modelname.c_str(), std::to_string(scale).c_str());
719719
}
720720
else{
721721
sprintf(parampath, "%s/%s.param", model.c_str(), modelname.c_str());

0 commit comments

Comments
 (0)