summaryrefslogtreecommitdiffstats
path: root/source/smbd/dosmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/dosmode.c')
-rw-r--r--source/smbd/dosmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/dosmode.c b/source/smbd/dosmode.c
index 1336e27281b..c2c9cc2373d 100644
--- a/source/smbd/dosmode.c
+++ b/source/smbd/dosmode.c
@@ -144,7 +144,7 @@ int file_chmod(connection_struct *conn,char *fname,int dosmode,SMB_STRUCT_STAT *
SMB_STRUCT_STAT st1;
int mask=0;
int tmp;
- int unixmode;
+ mode_t unixmode;
if (!st) {
st = &st1;