summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-01 07:25:53 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-01 07:25:53 +0000
commit3b2244526c7ae64f744539154681b9883daebc3f (patch)
treee97ff5a3fa541746a605d1f58862c65d16e999f5 /source3/smbd
parent21554bfae25d556562b24bdc5966fa517602561a (diff)
downloadsamba-3b2244526c7ae64f744539154681b9883daebc3f.tar.gz
samba-3b2244526c7ae64f744539154681b9883daebc3f.tar.bz2
samba-3b2244526c7ae64f744539154681b9883daebc3f.zip
Merge of signed/unsigned fixes from HEAD.
(This used to be commit e9f56a157bd472914eebf64fde586104d8274717)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/conn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c
index c771f1254b..38fa2e0237 100644
--- a/source3/smbd/conn.c
+++ b/source3/smbd/conn.c
@@ -68,7 +68,7 @@ BOOL conn_snum_used(int snum)
/****************************************************************************
find a conn given a cnum
****************************************************************************/
-connection_struct *conn_find(int cnum)
+connection_struct *conn_find(unsigned cnum)
{
int count=0;
connection_struct *conn;
@@ -174,7 +174,7 @@ clear a vuid out of the validity cache, and as the 'owner' of a connection.
void conn_clear_vuid_cache(uint16 vuid)
{
connection_struct *conn;
- int i;
+ unsigned int i;
for (conn=Connections;conn;conn=conn->next) {
if (conn->vuid == vuid) {