Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[yugabyte#12150] docdb: Fix gcc9 compile
Summary: gcc9 compile currently fails with the following: ``` /------------------------------------------------------------------------------- | COMPILATION FAILED |------------------------------------------------------------------------------- ent/src/yb/tools/yb-admin-test_ent.cc: In member function ‘virtual void yb::tools::XClusterAdminCliTest_Large_TestBootstrapProducerPerformance_Test::TestBody()’: ent/src/yb/tools/yb-admin-test_ent.cc:1374:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<yb::client::TableHandle>::size_type’ {aka ‘long unsigned int’} [-Werror=sign-compare] 1374 | for (int i = 1; i < tables.size(); ++i) { | ~~^~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors Input files: src/yb/tools/CMakeFiles/yb-admin-test_ent.dir/__/__/__/ent/src/yb/tools/yb-admin-test_ent.cc.o ent/src/yb/tools/yb-admin-test_ent.cc Output file (from -o): src/yb/tools/CMakeFiles/yb-admin-test_ent.dir/__/__/__/ent/src/yb/tools/yb-admin-test_ent.cc.o \------------------------------------------------------------------------------- ``` This diff fixes the compile error. Test Plan: Jenkins: compile only Reviewers: sergei, bogdan, nicolas Reviewed By: nicolas Subscribers: ybase Differential Revision: https://phabricator.dev.yugabyte.com/D16521
- Loading branch information