From f85cfb32fa8f01e7c1924f11a44ca357abb61c8e Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Wed, 9 Jul 2003 19:40:33 +0000
Subject: [PATCH] fixed gcc 3.3 compilation warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 src/mac/carbon/gsocket.c       | 4 ++--
 src/mac/gsocket.c              | 4 ++--
 src/mac/morefilex/MoreFilesX.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/mac/carbon/gsocket.c b/src/mac/carbon/gsocket.c
index f3985aee92..45275d9176 100644
--- a/src/mac/carbon/gsocket.c
+++ b/src/mac/carbon/gsocket.c
@@ -1071,7 +1071,7 @@ int _GSocket_Recv_Stream(GSocket *socket, char *buffer, int size)
 	OTByteCount sz = 0 ;
 
   	OTCountDataBytes( socket->m_endpoint , &sz ) ;
-  	if ( size > sz )
+  	if ( size > (int)sz )
   	  size = sz ;
 	res = OTRcv( socket->m_endpoint , buffer , size , &flags ) ;
 	if ( res < 0 )
@@ -1344,7 +1344,7 @@ service_entry gServices[] =
 GSocketError GAddress_INET_SetPortName(GAddress *address, const char *port,
                                        const char *protocol)
 {
-  int i ;
+  size_t i ;
 
   assert(address != NULL);
   CHECK_ADDRESS(address, INET, GSOCK_INVADDR);
diff --git a/src/mac/gsocket.c b/src/mac/gsocket.c
index f3985aee92..45275d9176 100644
--- a/src/mac/gsocket.c
+++ b/src/mac/gsocket.c
@@ -1071,7 +1071,7 @@ int _GSocket_Recv_Stream(GSocket *socket, char *buffer, int size)
 	OTByteCount sz = 0 ;
 
   	OTCountDataBytes( socket->m_endpoint , &sz ) ;
-  	if ( size > sz )
+  	if ( size > (int)sz )
   	  size = sz ;
 	res = OTRcv( socket->m_endpoint , buffer , size , &flags ) ;
 	if ( res < 0 )
@@ -1344,7 +1344,7 @@ service_entry gServices[] =
 GSocketError GAddress_INET_SetPortName(GAddress *address, const char *port,
                                        const char *protocol)
 {
-  int i ;
+  size_t i ;
 
   assert(address != NULL);
   CHECK_ADDRESS(address, INET, GSOCK_INVADDR);
diff --git a/src/mac/morefilex/MoreFilesX.c b/src/mac/morefilex/MoreFilesX.c
index 617f492768..d380e0d11c 100644
--- a/src/mac/morefilex/MoreFilesX.c
+++ b/src/mac/morefilex/MoreFilesX.c
@@ -2648,7 +2648,7 @@ GetTempBuffer(
 		
 		buffReqSize = MaxBlock() & 0xfffff000;
 		
-		if ( buffReqSize > freeMemory )
+		if ( (long)buffReqSize > freeMemory )
 		{
 			buffReqSize = freeMemory;
 		}
-- 
2.47.2