diff options
author | Adrian Salido <salidoa@google.com> | 2016-10-24 17:55:52 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-10-24 17:55:52 +0000 |
commit | 5ad151f3ca7822559559dd5afa57c3bccfbc2648 (patch) | |
tree | dee1ca5617385027ea9eae802987a0ba95ea5cca | |
parent | 6d59b2091a2ee207df2109ee89dd900e6e8c2432 (diff) | |
parent | ff522c77d52cc8324ba0a505706fe5f1c5d30178 (diff) | |
download | drm_hwcomposer-5ad151f3ca7822559559dd5afa57c3bccfbc2648.tar.gz |
drm_hwcomposer: fix type size check for separate rects am: 6862df5491android-n-mr2-preview-1
am: ff522c77d5
Change-Id: I9084ef5da1950f0c2c86fb567eb86fd1e6fc2fa6
-rw-r--r-- | separate_rects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/separate_rects.cpp b/separate_rects.cpp index 3d76e53..9fd1ae4 100644 --- a/separate_rects.cpp +++ b/separate_rects.cpp @@ -85,7 +85,7 @@ void separate_rects(const std::vector<Rect<TNum>> &in, // our output set of non-overlapping rectangles. Based of the algorithm found // at: http://stackoverflow.com/a/2755498 - if (in.size() > IdSet<TNum>::max_elements) { + if (in.size() > IdSet<TId>::max_elements) { return; } |