summaryrefslogtreecommitdiff
path: root/source4/libcli/clifile.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/clifile.c')
-rw-r--r--source4/libcli/clifile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/clifile.c b/source4/libcli/clifile.c
index 23f3cdc4a4..7f4384a222 100644
--- a/source4/libcli/clifile.c
+++ b/source4/libcli/clifile.c
@@ -53,7 +53,7 @@ static NTSTATUS cli_link_internal(struct cli_tree *tree,
****************************************************************************/
static uint32_t unix_perms_to_wire(mode_t perms)
{
- unsigned int ret = 0;
+ uint_t ret = 0;
ret |= ((perms & S_IXOTH) ? UNIX_X_OTH : 0);
ret |= ((perms & S_IWOTH) ? UNIX_W_OTH : 0);