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:
a191852
)
examples/testsmbc.c - quiet implicit cast warnings on OpenSolaris
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Mon, 20 Feb 2012 08:23:30 +0000
(09:23 +0100)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 22 Feb 2012 22:57:24 +0000
(23:57 +0100)
https://bugzilla.samba.org/show_bug.cgi?id=8767
Signed-off-by: Andrew Tridgell <tridge@samba.org>
examples/libsmbclient/testsmbc.c
patch
|
blob
|
history
diff --git
a/examples/libsmbclient/testsmbc.c
b/examples/libsmbclient/testsmbc.c
index 19d4ba7371e9c177b1e50847e514f03f4e055b13..47fb130edd40195da10fbeef8667aed55fbab26a 100644
(file)
--- a/
examples/libsmbclient/testsmbc.c
+++ b/
examples/libsmbclient/testsmbc.c
@@
-240,10
+240,10
@@
int main(int argc, char *argv[])
}
fprintf(stdout, "Stat'ed file: %s. Size = %d, mode = %04X\n", file2,
- (int)st2.st_size, st2.st_mode);
+ (int)st2.st_size,
(unsigned int)
st2.st_mode);
fprintf(stdout, " time: %s\n", ctime(&st2.st_atime));
fprintf(stdout, "Earlier stat: %s, Size = %d, mode = %04X\n", file,
- (int)st1.st_size, st1.st_mode);
+ (int)st1.st_size,
(unsigned int)
st1.st_mode);
fprintf(stdout, " time: %s\n", ctime(&st1.st_atime));
/* Now, make a directory ... */