Index: core/cross/command_buffer/texture_cb.h |
=================================================================== |
--- core/cross/command_buffer/texture_cb.h (revision 25949) |
+++ core/cross/command_buffer/texture_cb.h (working copy) |
@@ -112,7 +112,7 @@ |
// Returns true if the backing bitmap has the data for the level. |
bool HasLevel(unsigned int level) { |
- DCHECK_LT(level, levels()); |
+ DCHECK_LT(level, static_cast<unsigned int>(levels())); |
return (has_levels_ & (1 << level)) != 0; |
} |
@@ -192,7 +192,7 @@ |
// Returns true if the backing bitmap has the data for the level. |
bool HasLevel(CubeFace face, unsigned int level) { |
- DCHECK_LT(level, levels()); |
+ DCHECK_LT(level, static_cast<unsigned int>(levels())); |
return (has_levels_[face] & (1 << level)) != 0; |
} |