Skip to content

Commit e6c9fe9

Browse files
committed
fix
1 parent 1985da1 commit e6c9fe9

File tree

1 file changed

+1
-1
lines changed
  • include/fast_io_hosted/filesystem

1 file changed

+1
-1
lines changed

include/fast_io_hosted/filesystem/nt_at.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ inline void nt_unlinkat_impl(void *dirhd, char16_t const *path_c_str, ::std::siz
9898
auto status{::fast_io::win32::nt::nt_set_information_file<zw>(file.native_handle(),
9999
__builtin_addressof(IoStatusBlock),
100100
__builtin_addressof(fdi),
101-
sizeof(fdi),
101+
static_cast<::std::uint_least32_t>(sizeof(fdi)),
102102
::fast_io::win32::nt::file_information_class::FileDispositionInformation)};
103103

104104
if (status) [[unlikely]]

0 commit comments

Comments
 (0)