summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-06-21 17:23:20 +0000
committerJeremy Allison <jra@samba.org>2002-06-21 17:23:20 +0000
commit904533dc9e1948adcd4df5f2a771d20bedb0f520 (patch)
tree77d918a6624e215a5a33cc9b92fb27fabbd04907 /source3/smbd
parent8c5ab0498b5d9e4df858f2283fd26912ab54a60a (diff)
downloadsamba-904533dc9e1948adcd4df5f2a771d20bedb0f520.tar.gz
samba-904533dc9e1948adcd4df5f2a771d20bedb0f520.tar.bz2
samba-904533dc9e1948adcd4df5f2a771d20bedb0f520.zip
Don't use uint. It doesn't exist on some platforms and we don't define it.
Replaced with "unsigned int". Jeremy. (This used to be commit 5841ca54b6a8c36f3d76c12570ff8f2211ed2363)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c2
-rw-r--r--source3/smbd/trans2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index f64140daf8..3eca6695d2 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -1670,7 +1670,7 @@ static BOOL api_RNetShareAdd(connection_struct *conn,uint16 vuid, char *param,ch
fstring comment;
pstring pathname;
char *command, *cmdname;
- uint offset;
+ unsigned int offset;
int snum;
int res = ERRunsup;
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index efb0864a11..8780c17699 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -375,7 +375,7 @@ static uint32 unix_dev_minor(SMB_DEV_T dev)
static uint32 unix_perms_to_wire(mode_t perms)
{
- uint ret = 0;
+ unsigned int ret = 0;
ret |= ((perms & S_IXOTH) ? UNIX_X_OTH : 0);
ret |= ((perms & S_IWOTH) ? UNIX_W_OTH : 0);