diff options
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/conn.c | 2 | ||||
-rw-r--r-- | source4/smb_server/connection.c | 6 | ||||
-rw-r--r-- | source4/smb_server/password.c | 2 |
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; |