Skip to content

Commit b47c37e

Browse files
authored
Update threadpool.cpp
1 parent 54598a9 commit b47c37e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/threadpool/threadpool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ ThreadPool* get_threadpool() {
127127
#else
128128
// Set threads equal to the number of performance cores.
129129
auto result =
130-
::executorch::extension::cpuinfo::get_num_performant_cores();
130+
static_cast<int>(::executorch::extension::cpuinfo::get_num_performant_cores());
131131
#endif
132132

133133
/*

0 commit comments

Comments
 (0)