summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-06 11:23:30 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-06 11:28:58 +0100
commit0c8cf666fc3cd35961e6bc2862b67527b922731a (patch)
tree7535038df7b61ef3ecdc7de585c237d672f5ad8f
parent93d85ca5fd57d87e720ab627865f0e5af25e07b5 (diff)
downloadsamba-0c8cf666fc3cd35961e6bc2862b67527b922731a.tar.gz
samba-0c8cf666fc3cd35961e6bc2862b67527b922731a.tar.bz2
samba-0c8cf666fc3cd35961e6bc2862b67527b922731a.zip
s4:client/client.c - fix Solaris warning by a type cast
-rw-r--r--source4/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 93d6f34495..c6c0088b3c 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -2251,7 +2251,7 @@ static int cmd_chmod(struct smbclient_context *ctx, const char **args)
if (NT_STATUS_IS_ERR(smbcli_unix_chmod(ctx->cli->tree, src, mode))) {
d_printf("%s chmod file %s 0%o\n",
- smbcli_errstr(ctx->cli->tree), src, (mode_t)mode);
+ smbcli_errstr(ctx->cli->tree), src, (unsigned)mode);
return 1;
}