diff options
Diffstat (limited to 'source4/ntvfs/simple')
-rw-r--r-- | source4/ntvfs/simple/svfs.h | 4 | ||||
-rw-r--r-- | source4/ntvfs/simple/svfs_util.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/ntvfs/simple/svfs.h b/source4/ntvfs/simple/svfs.h index 6e44d290da..373e6dc126 100644 --- a/source4/ntvfs/simple/svfs.h +++ b/source4/ntvfs/simple/svfs.h @@ -7,7 +7,7 @@ struct svfs_private { struct search_state *search; /* next available search handle */ - uint16 next_search_handle; + uint16_t next_search_handle; struct svfs_file *open_files; }; @@ -30,7 +30,7 @@ struct svfs_file { struct search_state { struct search_state *next, *prev; TALLOC_CTX *mem_ctx; - uint16 handle; + uint16_t handle; uint_t current_index; struct svfs_dir *dir; }; diff --git a/source4/ntvfs/simple/svfs_util.c b/source4/ntvfs/simple/svfs_util.c index 11e70d72c2..ec1c07dff7 100644 --- a/source4/ntvfs/simple/svfs_util.c +++ b/source4/ntvfs/simple/svfs_util.c @@ -169,9 +169,9 @@ int svfs_file_utime(int fd, struct utimbuf *times) /* map a unix file attrib to a DOS attribute */ -uint16 svfs_unix_to_dos_attrib(mode_t mode) +uint16_t svfs_unix_to_dos_attrib(mode_t mode) { - uint16 ret = 0; + uint16_t ret = 0; if (S_ISDIR(mode)) ret |= FILE_ATTRIBUTE_DIRECTORY; if (!(mode & S_IWUSR)) ret |= FILE_ATTRIBUTE_READONLY; return ret; |