diff --git a/repertory/librepertory/src/drives/fuse/fuse_drive_base.cpp b/repertory/librepertory/src/drives/fuse/fuse_drive_base.cpp index b228c016..a8d49e3c 100644 --- a/repertory/librepertory/src/drives/fuse/fuse_drive_base.cpp +++ b/repertory/librepertory/src/drives/fuse/fuse_drive_base.cpp @@ -299,7 +299,7 @@ void fuse_drive_base::populate_stat(const std::string &api_path, std::uint64_t size_or_count, const api_meta_map &meta, bool directory, i_provider &provider, struct stat *st) { - memset(st, 0, sizeof(struct stat)); + std::memset(st, 0, sizeof(struct stat)); st->st_nlink = static_cast( directory ? 2 + (size_or_count == 0U ? provider.get_directory_item_count(api_path) diff --git a/repertory/librepertory/src/drives/fuse/remotefuse/remote_fuse_drive.cpp b/repertory/librepertory/src/drives/fuse/remotefuse/remote_fuse_drive.cpp index 458a0258..466bc633 100644 --- a/repertory/librepertory/src/drives/fuse/remotefuse/remote_fuse_drive.cpp +++ b/repertory/librepertory/src/drives/fuse/remotefuse/remote_fuse_drive.cpp @@ -299,7 +299,7 @@ auto remote_fuse_drive::opendir_impl( void remote_fuse_drive::populate_stat(const remote::stat &r_stat, bool directory, struct stat &unix_st) { - memset(&unix_st, 0, sizeof(struct stat)); + std::memset(&unix_st, 0, sizeof(struct stat)); #if defined(__APPLE__) unix_st.st_blksize = 0;