sddm-fix-build.patch 518 B

1234567891011121314
  1. diff --git a/src/daemon/XorgDisplayServer.cpp b/src/daemon/XorgDisplayServer.cpp
  2. index 5f93a1b..d5f29a9 100644
  3. --- a/src/daemon/XorgDisplayServer.cpp
  4. +++ b/src/daemon/XorgDisplayServer.cpp
  5. @@ -65,7 +65,7 @@ namespace SDDM {
  6. // create a random hexadecimal number
  7. const char *digits = "0123456789abcdef";
  8. for (int i = 0; i < 32; ++i)
  9. - m_cookie[i] = digits[dis(gen)];
  10. + m_cookie[i] = QLatin1Char(digits[dis(gen)]);
  11. }
  12. XorgDisplayServer::~XorgDisplayServer() {