• R/O
  • SSH

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

This is a fork of Zandronum used on servers hosted by The Sentinels Playground (TSPG), Euroboros (EB), and Down Under Doomers (DUD).


コミットメタ情報

リビジョンeb94132dc21e89b2fe2b621c89993fcd4f7f4827 (tree)
日時2021-04-18 23:13:38
作者Adam Kaminski <kaminskiadam9@gmai...>
コミッターAdam Kaminski

ログメッセージ

Fixed some MSVC warnings.

変更サマリ

差分

diff -r 10b91d850cff -r eb94132dc21e masterserver/main.cpp
--- a/masterserver/main.cpp Sun Apr 18 00:36:08 2021 -0400
+++ b/masterserver/main.cpp Sun Apr 18 10:13:38 2021 -0400
@@ -481,7 +481,7 @@
481481 // [BB] This is a new server, but we still need to verify it.
482482 if ( currentUnverifiedServer == g_UnverifiedServers.end() )
483483 {
484- srand ( time(NULL) );
484+ srand ( static_cast<unsigned int>( time(NULL) ) );
485485 newServer.ServerVerificationInt = rand() + rand() * rand() + rand() * rand() * rand();
486486 // [BB] We don't send the ban list to unverified servers, so just pretent the server already has the list.
487487 newServer.bHasLatestBanList = true;
diff -r 10b91d850cff -r eb94132dc21e tools/updaterevision/updaterevision.c
--- a/tools/updaterevision/updaterevision.c Sun Apr 18 00:36:08 2021 -0400
+++ b/tools/updaterevision/updaterevision.c Sun Apr 18 10:13:38 2021 -0400
@@ -158,7 +158,7 @@
158158 hash, vertag, hash, lastlog);
159159
160160 // [BB] Also save out hg info.
161- fprintf (stream, "#define HG_REVISION_NUMBER %lu\n", hgdate);
161+ fprintf (stream, "#define HG_REVISION_NUMBER %lu\n", (unsigned long)hgdate );
162162 // [BB] We use the short hash.
163163 hash[12] = 0;
164164 fprintf (stream, "#define HG_REVISION_HASH_STRING \"%s\"\n", hash);