Index: webrtc/base/file_posix.cc |
diff --git a/webrtc/base/file_posix.cc b/webrtc/base/file_posix.cc |
index 9c166ec1a25f5ac32f709f9ea6469ffa9cca3cde..c386a34f7714557f2fd236491d650242d7b4b5b2 100644 |
--- a/webrtc/base/file_posix.cc |
+++ b/webrtc/base/file_posix.cc |
@@ -81,7 +81,7 @@ size_t File::ReadAt(uint8_t* buffer, size_t length, size_t offset) { |
} |
bool File::Seek(size_t offset) { |
- RTC_DCHECK_LE(offset, static_cast<size_t>(std::numeric_limits<off_t>::max())); |
+ RTC_DCHECK_LE(offset, std::numeric_limits<off_t>::max()); |
return lseek(file_, static_cast<off_t>(offset), SEEK_SET) != -1; |
} |