Revert D4618623: Give observer manager threads a name
[folly.git] / folly / io / RecordIO-inl.h
index 609443f6cf33ada56869a7b434fdbd121df3f89a..441a88b87911516642ec785fcd2e59023beb13de 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@
 
 #include <boost/iterator/iterator_facade.hpp>
 
-#include "folly/SpookyHashV2.h"
+#include <folly/SpookyHashV2.h>
 
 namespace folly {
 
@@ -37,7 +37,7 @@ class RecordIOReader::Iterator : public boost::iterator_facade<
   bool equal(const Iterator& other) const { return range_ == other.range_; }
   void increment() {
     size_t skip = recordio_helpers::headerSize() + recordAndPos_.first.size();
-    recordAndPos_.second += skip;
+    recordAndPos_.second += off_t(skip);
     range_.advance(skip);
     advanceToValid();
   }
@@ -93,4 +93,3 @@ inline RecordInfo findRecord(ByteRange range, uint32_t fileId) {
 }  // namespace recordio_helpers
 
 }  // namespaces
-