Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf-counter: use 'int' instead of size_t
'size_t' does not allow for catching the case where 'read' returns an error code, which is a negative number. Reported-by: Ben Pfaff <[email protected]> Signed-off-by: Andy Zhou <[email protected]>
- Loading branch information