summaryrefslogtreecommitdiffstats
path: root/src/client/main.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2018-07-26 16:11:31 +0200
committerSimon Rettberg2018-07-26 16:11:31 +0200
commit0d1984357f9bc8aac671e8907208a8581a1f42db (patch)
tree09dd65975ff5e5074fdbc708504ab1d84b073c2b /src/client/main.cpp
parent[server] Cleanup and simplify SslServer (diff)
downloadpvs2-0d1984357f9bc8aac671e8907208a8581a1f42db.tar.gz
pvs2-0d1984357f9bc8aac671e8907208a8581a1f42db.tar.xz
pvs2-0d1984357f9bc8aac671e8907208a8581a1f42db.zip
[*] Convert old C-Style casts
Primitive types now use type(x) instead of (type)x, pointers should use appropriate long versions
Diffstat (limited to 'src/client/main.cpp')
-rw-r--r--src/client/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/main.cpp b/src/client/main.cpp
index 61ca0e9..eefd0d8 100644
--- a/src/client/main.cpp
+++ b/src/client/main.cpp
@@ -9,7 +9,7 @@ int main(int argc, char** argv)
{
ClientApp app(argc, argv);
- qsrand((uint)QDateTime::currentMSecsSinceEpoch());
+ qsrand(uint(QDateTime::currentMSecsSinceEpoch()));
/* here we handle the arguments that were not handled by ClientApp */
for (QString a : app.arguments()) {