summaryrefslogtreecommitdiffhomepage
path: root/Stars45
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-07-16 17:51:12 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-07-16 17:51:12 +0000
commitd247e6df50e9377cc5ecd0f4c29cc40de4165d1a (patch)
tree460f29768ba7ff213ead361f1165f2028fcf56d8 /Stars45
parent48cce8ead9fdd6be5f1c4593235c56adb9156bea (diff)
downloadstarshatter-d247e6df50e9377cc5ecd0f4c29cc40de4165d1a.zip
starshatter-d247e6df50e9377cc5ecd0f4c29cc40de4165d1a.tar.gz
starshatter-d247e6df50e9377cc5ecd0f4c29cc40de4165d1a.tar.bz2
Ignore PVS Studio warning V576
Diffstat (limited to 'Stars45')
-rw-r--r--Stars45/Mfd.cpp2
-rw-r--r--Stars45/NetClientDlg.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/Mfd.cpp b/Stars45/Mfd.cpp
index 3ba38ae..baa31c2 100644
--- a/Stars45/Mfd.cpp
+++ b/Stars45/Mfd.cpp
@@ -1118,7 +1118,7 @@ MFD::DrawGameMFD()
}
if (Game::TimeCompression() > 1)
- sprintf_s(txt, "%02d:%02d:%02d x%d", hours, minutes, seconds, Game::TimeCompression());
+ sprintf_s(txt, "%02d:%02d:%02d x%d", hours, minutes, seconds, Game::TimeCompression()); //-V576
else
sprintf_s(txt, "%02d:%02d:%02d", hours, minutes, seconds);
diff --git a/Stars45/NetClientDlg.cpp b/Stars45/NetClientDlg.cpp
index 7334a75..a967977 100644
--- a/Stars45/NetClientDlg.cpp
+++ b/Stars45/NetClientDlg.cpp
@@ -204,7 +204,7 @@ NetClientDlg::UpdateServers()
if (info->ping_time > 0 && info->ping_time < 10000) {
char buffer[32];
- sprintf_s(buffer, "%d ms", info->ping_time);
+ sprintf_s(buffer, "%d ms", info->ping_time); //-V576
lst_servers->SetItemText(i, 5, buffer);
switch (info->status) {