aboutsummaryrefslogtreecommitdiff
path: root/lib/fstree/fstree.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fstree/fstree.c')
-rw-r--r--lib/fstree/fstree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fstree/fstree.c b/lib/fstree/fstree.c
index c7c4a23..357fd3d 100644
--- a/lib/fstree/fstree.c
+++ b/lib/fstree/fstree.c
@@ -66,7 +66,7 @@ static int process_defaults(struct stat *sb, char *subopts)
goto fail_uv;
if (lval > 07777)
goto fail_ov;
- sb->st_mode = S_IFDIR | (uint16_t)lval;
+ sb->st_mode = S_IFDIR | (sqfs_u16)lval;
break;
case DEF_MTIME:
lval = strtol(value, NULL, 0);