commit | 353a6f69f2ff24c4f10d4994afaa1d4d46bcb9a6 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Mon Jun 26 17:13:09 2017 -0700 |
committer | George Burgess IV <gbiv@google.com> | Mon Jun 26 17:13:09 2017 -0700 |
tree | 54e60de843ceecf99bf38193b402fb22ee4722e3 | |
parent | 534288a2cca27fdb466fac4eb175cc2868354eeb [diff] |
Fix signed/unsigned integer comparison warning allowed_pending_fence_count is apparently an int32_t, which made clang unhappy when compared with the size_t from calling size(). Cast size() to an int32_t, since I doubt we'll have > 2.1 billion FDs open any time soon. :) Bug: None Test: mma. Warning is gone. Change-Id: I895b2c6e1a6d5a42c692470f6a5c5fd22d55b2ff