version forgot

This commit is contained in:
Adam D. Ruppe 2022-04-19 12:20:46 -04:00
parent 7d81f250fe
commit 79b630e547
2 changed files with 3 additions and 1 deletions

View File

@ -3070,7 +3070,7 @@ version(use_openssl) {
if(error < 0 || error >= sslErrorCodes.length)
return "SSL/TLS error code " ~ to!string(error);
return sslErrorCodes[error];
return sslErrorCodes[cast(size_t) error];
}
struct SSL;

View File

@ -8100,6 +8100,7 @@ class Window : Widget {
}
win = new SimpleWindow(width, height, title, OpenGlOptions.no, Resizability.allowResizing, WindowTypes.normal, WindowFlags.dontAutoShow | WindowFlags.managesChildWindowFocus);
static if(UsingSimpledisplayX11) {
///+
// for input proxy
auto display = XDisplayConnection.get;
@ -8143,6 +8144,7 @@ class Window : Widget {
);
// done
//+/
}