termux-packages/x11-packages/kcoreaddons/src-lib-randomness-krandom.cpp.patch
Tee KOBAYASHI e08e0dd254
kcoreaddons: Fix build with Qt 5.15
%ci:no-build
2022-04-18 14:50:27 +05:30

12 lines
284 B
Diff

--- a/src/lib/randomness/krandom.cpp
+++ b/src/lib/randomness/krandom.cpp
@@ -62,7 +62,7 @@
if (r > 90) {
r += 6;
}
- str[i++] = char(r);
+ str[i++] = QLatin1Char(char(r));
// so what if I work backwards?
}
return str;