Index: src/base/platform/platform-posix.cc |
diff --git a/src/base/platform/platform-posix.cc b/src/base/platform/platform-posix.cc |
index 6764cf78e0e9acae8953c58ead6e0cb50213a085..252d213755299756dfec51a8a47fe7f48130b1a5 100644 |
--- a/src/base/platform/platform-posix.cc |
+++ b/src/base/platform/platform-posix.cc |
@@ -515,7 +515,7 @@ Thread::Thread(const Options& options) |
: data_(new PlatformData), |
stack_size_(options.stack_size()), |
start_semaphore_(NULL) { |
- if (stack_size_ > 0 && stack_size_ < PTHREAD_STACK_MIN) { |
+ if (stack_size_ > 0 && static_cast<size_t>(stack_size_) < PTHREAD_STACK_MIN) { |
stack_size_ = PTHREAD_STACK_MIN; |
} |
set_name(options.name()); |