aboutsummaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-26 07:24:18 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-26 19:27:03 -0700
commitaa5f2e7c735e1b9a00647a9a6b6797044c60ec4a (patch)
tree75cf708b9bd4b0ac5ed6af8db7c59e35815f93ef /core/downloadfromdcthread.cpp
parentc5fcdfae30b95c6ddc1d30ec34584dcff735ccd0 (diff)
downloadsubsurface-aa5f2e7c735e1b9a00647a9a6b6797044c60ec4a.tar.gz
cleanup: replace deprecated sprintf()/vsprintf() calls
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/downloadfromdcthread.cpp')
-rw-r--r--core/downloadfromdcthread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp
index 44120894e..a93bba7ab 100644
--- a/core/downloadfromdcthread.cpp
+++ b/core/downloadfromdcthread.cpp
@@ -18,7 +18,7 @@ static QString str_error(const char *fmt, ...)
{
va_list args;
va_start(args, fmt);
- const QString str = QString().vsprintf(fmt, args);
+ const QString str = QString().vasprintf(fmt, args);
va_end(args);
return str;