From b2ff4b06d65f26eed913eb472a6660e7e26f8389 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 20 Feb 2012 09:23:30 +0100 Subject: examples/testsmbc.c - quiet implicit cast warnings on OpenSolaris https://bugzilla.samba.org/show_bug.cgi?id=8767 Signed-off-by: Andrew Tridgell --- examples/libsmbclient/testsmbc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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 ... */ -- cgit