diff options
| author | Stefan Boberg <[email protected]> | 2023-05-25 14:16:06 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-05-25 14:16:06 +0200 |
| commit | c60c415a23588db274ec14bb09a8c2300b88591e (patch) | |
| tree | 29f416307b099549764f42aaf98262a6a0271868 /src/zenserver/zenserver.cpp | |
| parent | fix for issue with missing options in help (diff) | |
| download | zen-c60c415a23588db274ec14bb09a8c2300b88591e.tar.xz zen-c60c415a23588db274ec14bb09a8c2300b88591e.zip | |
fix for random uint32 -> uint32_t
Diffstat (limited to 'src/zenserver/zenserver.cpp')
| -rw-r--r-- | src/zenserver/zenserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver/zenserver.cpp b/src/zenserver/zenserver.cpp index 1f96781fd..76aa78f37 100644 --- a/src/zenserver/zenserver.cpp +++ b/src/zenserver/zenserver.cpp @@ -283,7 +283,7 @@ public: if (ServerOptions.WebSocketPort != 0) { - const uint32 ThreadCount = + const uint32_t ThreadCount = ServerOptions.WebSocketThreads > 0 ? uint32_t(ServerOptions.WebSocketThreads) : std::thread::hardware_concurrency(); m_WebSocket = zen::WebSocketServer::Create( |