From 0c8cf666fc3cd35961e6bc2862b67527b922731a Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 6 Dec 2010 11:23:30 +0100 Subject: s4:client/client.c - fix Solaris warning by a type cast --- source4/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/client') 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; } -- cgit