Warning, /graphics/digikam/project/bundles/3rdparty/ext_kf5/ki18n-mingw.patch is written in an unsupported language. File is not indexed.
0001 diff --git a/src/i18n/kcatalog.cpp b/src/i18n/kcatalog.cpp 0002 index 2f895ae..4e414cd 100644 0003 --- a/src/i18n/kcatalog.cpp 0004 +++ b/src/i18n/kcatalog.cpp 0005 @@ -66,7 +66,7 @@ static const int s_langenvMaxlen = 64; 0006 0007 static void copyToLangArr(const QByteArray &lang) 0008 { 0009 - const int bytes = std::snprintf(s_langenv, s_langenvMaxlen, "LANGUAGE=%s", lang.constData()); 0010 + const int bytes = snprintf(s_langenv, s_langenvMaxlen, "LANGUAGE=%s", lang.constData()); 0011 if (bytes < 0) { 0012 qCWarning(KI18N) << "There was an error while writing LANGUAGE environment variable:" << std::strerror(errno); 0013 } else if (bytes > (s_langenvMaxlen - 1)) { // -1 for the \0 character