summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2012-02-20 09:23:30 +0100
committerAndrew Tridgell <tridge@samba.org>2012-02-22 23:57:24 +0100
commitb2ff4b06d65f26eed913eb472a6660e7e26f8389 (patch)
treef75139c398d5dd9ae650b53ae05b69e7707f52b4 /examples
parenta19185249a69597c870cd1e366128400c5ebeeb9 (diff)
downloadsamba-b2ff4b06d65f26eed913eb472a6660e7e26f8389.tar.gz
samba-b2ff4b06d65f26eed913eb472a6660e7e26f8389.tar.bz2
samba-b2ff4b06d65f26eed913eb472a6660e7e26f8389.zip
examples/testsmbc.c - quiet implicit cast warnings on OpenSolaris
https://bugzilla.samba.org/show_bug.cgi?id=8767 Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/libsmbclient/testsmbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/libsmbclient/testsmbc.c b/examples/libsmbclient/testsmbc.c
index 19d4ba7371..47fb130edd 100644
--- 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 ... */