From 30a0439bdec7147d3036126f66a4f5c51674b09b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 3 Feb 2005 02:41:17 +0000 Subject: [PATCH] warnings --- stepmania/src/NetworkSyncManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/NetworkSyncManager.cpp b/stepmania/src/NetworkSyncManager.cpp index 1ab45fb4c8..d598133b0d 100644 --- a/stepmania/src/NetworkSyncManager.cpp +++ b/stepmania/src/NetworkSyncManager.cpp @@ -109,12 +109,12 @@ void NetworkSyncManager::CloseConnection() void NetworkSyncManager::PostStartUp(const CString& ServerIP) { CString sAddress; - int iPort; + short iPort; int cLoc = ServerIP.Find( ":" ); if ( ServerIP.Find( ":" ) > 0 ) { - iPort = atoi( ServerIP.substr( cLoc + 1 ).c_str() ); + iPort = (short) atoi( ServerIP.substr( cLoc + 1 ).c_str() ); sAddress = ServerIP.substr( 0, cLoc ); } else