Skip to content

Commit

Permalink
change pool size type to uint32
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Sadokhov committed Aug 23, 2023
1 parent 50fc281 commit 3528aa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/thread-pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ class ThreadPool : vk::not_copyable {
BS::thread_pool * thread_pool_ptr{nullptr};
};

extern int thread_pool_size;
extern uint32_t thread_pool_size;
2 changes: 1 addition & 1 deletion server/php-engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2196,7 +2196,7 @@ int main_args_handler(int i, const char *long_option) {
return res;
}
case 2036: {
return read_option_to(long_option, 0, 2048, thread_pool_size);
return read_option_to(long_option, 0U, 2048U, thread_pool_size);
}
default:
return -1;
Expand Down

0 comments on commit 3528aa7

Please sign in to comment.