Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Unified Diff: ipc/file_descriptor_set_posix.cc

Issue 7605019: Reduce number of unnamed-type-template-args violations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ipc/file_descriptor_set_posix.cc
===================================================================
--- ipc/file_descriptor_set_posix.cc (revision 97489)
+++ ipc/file_descriptor_set_posix.cc (working copy)
@@ -122,7 +122,7 @@
}
void FileDescriptorSet::SetDescriptors(const int* buffer, unsigned count) {
- DCHECK_LE(count, MAX_DESCRIPTORS_PER_MESSAGE);
+ DCHECK_LE(count, static_cast<unsigned>(MAX_DESCRIPTORS_PER_MESSAGE));
Nico 2011/08/19 20:34:23 for msvc i assume. else revert
DCHECK_EQ(descriptors_.size(), 0u);
DCHECK_EQ(consumed_descriptor_highwater_, 0u);

Powered by Google App Engine
This is Rietveld 408576698