Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes up some follow-on comments from [0]. Also fixes a compile time warning: ``` [25/85] Building CXX object src/CMakeFiles/runtime.dir/output.cpp.o In file included from /usr/include/c++/13.2.1/cassert:44, from /home/dxu/dev/bpftrace/src/log.h:3, from /home/dxu/dev/bpftrace/src/output.cpp:3: /home/dxu/dev/bpftrace/src/output.cpp: In static member function ‘static std::string bpftrace::TextOutput::hist_index_label(int, int)’: /home/dxu/dev/bpftrace/src/output.cpp:53:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’} [-Wsign-compare] 53 | assert(index >= n); // Smaller indexes are converted directly. | ~~~~~~^~~~ ``` [0]: bpftrace#2831 (comment)
- Loading branch information