add -Wshorten-64-to-32 for share

This commit is contained in:
xuhuleon
2023-02-07 00:40:01 +08:00
committed by ob-robot
parent 822aaaf7f2
commit c157309bc6
168 changed files with 502 additions and 636 deletions

View File

@ -200,7 +200,7 @@ public:
is_inited_(false),
is_stopped_(false) {}
~ObOccamThreadPool() { destroy(); }
int init(int64_t thread_num, int queue_size_square_of_2 = 14)
int init(int64_t thread_num, int64_t queue_size_square_of_2 = 14)
{
int ret = OB_SUCCESS;
if (is_inited_) {