summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-01 08:12:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:23 -0500
commitfa2e9ec311b99dee2fbff5ee5fa2c743298dacad (patch)
tree35dc6a43cb10399e427b2fcd76d24cc23c77151d /source4/smb_server
parentb88fc7a3911e0ff8b6d7d324028e351281e94c46 (diff)
downloadsamba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.tar.gz
samba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.tar.bz2
samba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.zip
r960: convert 'unsigned int' to uint_t in the most places
metze (This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/conn.c2
-rw-r--r--source4/smb_server/connection.c6
-rw-r--r--source4/smb_server/password.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/source4/smb_server/conn.c b/source4/smb_server/conn.c
index 821981a1c8..d0b60fe29d 100644
--- a/source4/smb_server/conn.c
+++ b/source4/smb_server/conn.c
@@ -129,7 +129,7 @@ clear a vuid out of the validity cache, and as the 'owner' of a connection.
void conn_clear_vuid_cache(struct server_context *smb, uint16_t vuid)
{
struct tcon_context *conn;
- unsigned int i;
+ uint_t i;
for (conn=smb->tree.connections;conn;conn=conn->next) {
for (i=0;i<conn->vuid_cache.entries && i< VUID_CACHE_SIZE;i++) {
diff --git a/source4/smb_server/connection.c b/source4/smb_server/connection.c
index 77c04187ce..d7e26f4614 100644
--- a/source4/smb_server/connection.c
+++ b/source4/smb_server/connection.c
@@ -88,7 +88,7 @@ static int count_fn( TDB_CONTEXT *the_tdb, TDB_DATA kbuf, TDB_DATA dbuf, void *u
if (cs->Clear && !process_exists(crec.pid) && (errno == ESRCH)) {
DEBUG(2,("pid %u doesn't exist - deleting connections %d [%s]\n",
- (unsigned int)crec.pid, crec.cnum, crec.name));
+ (uint_t)crec.pid, crec.cnum, crec.name));
if (tdb_delete(the_tdb, kbuf) != 0)
DEBUG(0,("count_fn: tdb_delete failed with error %s\n", tdb_errorstr(tdb) ));
return 0;
@@ -191,7 +191,7 @@ BOOL register_message_flags(BOOL doreg, uint32_t msg_flags)
DEBUG(10,("register_message_flags: %s flags 0x%x\n",
doreg ? "adding" : "removing",
- (unsigned int)msg_flags ));
+ (uint_t)msg_flags ));
make_conn_key(NULL, "", &kbuf, &key);
@@ -216,7 +216,7 @@ BOOL register_message_flags(BOOL doreg, uint32_t msg_flags)
}
DEBUG(10,("register_message_flags: new flags 0x%x\n",
- (unsigned int)pcrec->bcast_msg_flags ));
+ (uint_t)pcrec->bcast_msg_flags ));
SAFE_FREE(dbuf.dptr);
return True;
diff --git a/source4/smb_server/password.c b/source4/smb_server/password.c
index 8b6018575b..ca89003cf1 100644
--- a/source4/smb_server/password.c
+++ b/source4/smb_server/password.c
@@ -131,7 +131,7 @@ int register_vuid(struct server_context *smb,
}
DEBUG(10,("register_vuid: allocated vuid = %u\n",
- (unsigned int)smb->users.next_vuid));
+ (uint_t)smb->users.next_vuid));
vuser->vuid = smb->users.next_vuid;