[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-common-cvs
Subject:    [Common-cvs]
From:       jeffl () helixcommunity ! org
Date:       2010-10-25 18:15:53
Message-ID: 201010251816.o9PIGM7D016517 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/common/fileio
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv1038

Modified Files:
      Tag: hxclient_3_1_0_atlas
	chunkres.cpp fdbufdataf.cpp single_buffer_file_object.cpp 
Log Message:
Fixed VC9 compiler warnings


Index: chunkres.cpp
===================================================================
RCS file: /cvsroot/common/fileio/chunkres.cpp,v
retrieving revision 1.27.2.2
retrieving revision 1.27.2.3
diff -u -d -r1.27.2.2 -r1.27.2.3
--- chunkres.cpp	5 Feb 2008 06:16:21 -0000	1.27.2.2
+++ chunkres.cpp	25 Oct 2010 18:15:50 -0000	1.27.2.3
@@ -624,7 +624,7 @@
     
     Lock();
     
-    if (m_Chunks.GetSize() < ulLastChunk)
+    if ((ULONG32) m_Chunks.GetSize() < ulLastChunk)
     {
 	ulLastChunk = m_Chunks.GetSize();
     }
@@ -950,7 +950,7 @@
 	ULONG32 chunkCount  = count;
 	ULONG32 baseOffset  = 0;
 	
-	if (nFirstChunk < m_ulFirstChunkIdx)
+	if ((UINT32) nFirstChunk < m_ulFirstChunkIdx)
 	{
 	    m_ulFirstChunkIdx = nFirstChunk;
 	}

Index: single_buffer_file_object.cpp
===================================================================
RCS file: /cvsroot/common/fileio/single_buffer_file_object.cpp,v
retrieving revision 1.3.4.2
retrieving revision 1.3.4.3
diff -u -d -r1.3.4.2 -r1.3.4.3
--- single_buffer_file_object.cpp	2 Dec 2008 14:33:47 -0000	1.3.4.2
+++ single_buffer_file_object.cpp	25 Oct 2010 18:15:50 -0000	1.3.4.3
@@ -430,7 +430,7 @@
     {
 	CHXString strLocalURL(pszURL);
 	HXXFile::GetReasonableLocalFileName(strLocalURL);	// Strip off protocol, for FileExists
-	INT16 nSep = strLocalURL.ReverseFind('?');
+	INT32 nSep = strLocalURL.ReverseFind('?');
 	if (nSep >= 0)
 	{
 	    strLocalURL = strLocalURL.Left(nSep);		 // Strip off the options from the URL

Index: fdbufdataf.cpp
===================================================================
RCS file: /cvsroot/common/fileio/fdbufdataf.cpp,v
retrieving revision 1.1.4.3
retrieving revision 1.1.4.4
diff -u -d -r1.1.4.3 -r1.1.4.4
--- fdbufdataf.cpp	8 Dec 2009 19:22:24 -0000	1.1.4.3
+++ fdbufdataf.cpp	25 Oct 2010 18:15:50 -0000	1.1.4.4
@@ -474,7 +474,7 @@
     {
 	if (!fstat(m_nExternalFD, statbuf))
 	{
-	    if (statbuf->st_size > m_ulLength)
+	    if ((UINT32) statbuf->st_size > m_ulLength)
 	    {
 		statbuf->st_size = m_ulLength;
 	    }


_______________________________________________
Common-cvs mailing list
Common-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/common-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic