summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/testchmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libsmbclient/testchmod.c')
-rw-r--r--examples/libsmbclient/testchmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/libsmbclient/testchmod.c b/examples/libsmbclient/testchmod.c
index 44731466c2..b285a81a19 100644
--- a/examples/libsmbclient/testchmod.c
+++ b/examples/libsmbclient/testchmod.c
@@ -42,7 +42,7 @@ int main(int argc, char * argv[])
return 1;
}
- printf("\nBefore chmod: mode = %04o\n", st.st_mode);
+ printf("\nBefore chmod: mode = %04o\n", (unsigned int)st.st_mode);
if (smbc_chmod(pSmbPath, mode) < 0)
{
@@ -56,7 +56,7 @@ int main(int argc, char * argv[])
return 1;
}
- printf("After chmod: mode = %04o\n", st.st_mode);
+ printf("After chmod: mode = %04o\n", (unsigned int)st.st_mode);
return 0;
}