Fix clang issue on NotificationQueue::size
[folly.git] / folly / io / async / NotificationQueue.h
index 9d76e431cd242b8163cdf596d2ce44379d2e4524..9eee132bc7b6b2063d1e2479eed59dd54b251b1f 100644 (file)
@@ -419,7 +419,7 @@ class NotificationQueue {
     return true;
   }
 
-  int size() {
+  size_t size() {
     folly::SpinLockGuard g(spinlock_);
     return queue_.size();
   }