We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e97930 commit 8d2761aCopy full SHA for 8d2761a
1 file changed
extension/data_loader/mman.h
@@ -13,6 +13,7 @@
13
14
#include <executorch/runtime/platform/compiler.h>
15
#include <sys/stat.h>
16
+#include <cstdint>
17
18
#ifndef _WIN32
19
@@ -75,8 +76,8 @@ ET_INLINE int get_file_stat(int fd, size_t* out_size) {
75
76
/**
77
* Platform-specific mmap offset type conversion.
78
*/
-ET_INLINE std::uint64_t get_mmap_offset(size_t offset) {
79
- return static_cast<std::uint64_t>(offset);
+ET_INLINE uint64_t get_mmap_offset(size_t offset) {
80
+ return static_cast<uint64_t>(offset);
81
}
82
83
#endif
0 commit comments