[packages/obs-studio] - fixed x86_64 (qsizetype is long long with 64-bit size_t, int with 32-bit)
qboosh
qboosh at pld-linux.org
Thu Jun 25 21:57:21 CEST 2026
commit 2d95b05d1029c792ae1e6e1583b79357f6ecb2e0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jun 25 21:57:52 2026 +0200
- fixed x86_64 (qsizetype is long long with 64-bit size_t, int with 32-bit)
format-string.patch | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/format-string.patch b/format-string.patch
index 63c93c0..374dbbe 100644
--- a/format-string.patch
+++ b/format-string.patch
@@ -137,12 +137,15 @@
}
--- obs-studio-32.1.2/frontend/OBSApp_Themes.cpp.orig 2026-04-21 21:00:34.000000000 +0200
+++ obs-studio-32.1.2/frontend/OBSApp_Themes.cpp 2026-06-25 20:42:13.743732077 +0200
-@@ -592,7 +592,7 @@ static QString EvalMath(const QHash<QStr
+@@ -592,7 +592,11 @@ static QString EvalMath(const QHash<QStr
}
if (args.length() != 3) {
-- blog(LOG_ERROR, "Math parse had invalid number of arguments: %lld (%s)", args.length(),
++#ifdef __LP64__
+ blog(LOG_ERROR, "Math parse had invalid number of arguments: %lld (%s)", args.length(),
++#else
+ blog(LOG_ERROR, "Math parse had invalid number of arguments: %zd (%s)", args.length(),
++#endif
QT_TO_UTF8(args.join(", ")));
return "'Invalid expression'";
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/obs-studio.git/commitdiff/2d95b05d1029c792ae1e6e1583b79357f6ecb2e0
More information about the pld-cvs-commit
mailing list