diff options
author | Juergen Bohl <jbohl@h-quer.de> | 2020-04-12 13:31:02 (GMT) |
---|---|---|
committer | Juergen Bohl <jbohl@h-quer.de> | 2020-04-12 13:31:02 (GMT) |
commit | be3ac45cf673c5acfae53c6949a6b525b1631156 (patch) | |
tree | ef0c562f79ba28d70a957467baa4fd6a0cd844d6 | |
parent | e3f0319d89f4cbf32993de595d984183b1a9fc57 (diff) | |
download | googletest-be3ac45cf673c5acfae53c6949a6b525b1631156.zip googletest-be3ac45cf673c5acfae53c6949a6b525b1631156.tar.gz googletest-be3ac45cf673c5acfae53c6949a6b525b1631156.tar.bz2 |
fix signed/unsigned comparison issue (on OpenBSD)refs/pull/2810/head
-rw-r--r-- | googletest/src/gtest-port.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/src/gtest-port.cc b/googletest/src/gtest-port.cc index a05c50a..c180233 100644 --- a/googletest/src/gtest-port.cc +++ b/googletest/src/gtest-port.cc @@ -208,7 +208,7 @@ size_t GetThreadCount() { // exclude empty members int nthreads = 0; - for (int i = 0; i < size / mib[4]; i++) { + for (size_t i = 0; i < size / mib[4]; i++) { if (info[i].p_tid != -1) nthreads++; } |