git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93d85ca
)
s4:client/client.c - fix Solaris warning by a type cast
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Mon, 6 Dec 2010 10:23:30 +0000
(11:23 +0100)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Mon, 6 Dec 2010 10:28:58 +0000
(11:28 +0100)
source4/client/client.c
patch
|
blob
|
history
diff --git
a/source4/client/client.c
b/source4/client/client.c
index 93d6f3449531ed1fde513ef8362fae0168e0059e..c6c0088b3c32f6c161bcd623433471df7ed786fe 100644
(file)
--- 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;
}