diff options
-rw-r--r-- | include/gpu/GrTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h index 8a8e08c949..cf3773c89e 100644 --- a/include/gpu/GrTypes.h +++ b/include/gpu/GrTypes.h @@ -180,7 +180,7 @@ static const int kMaskFormatCount = kLast_GrMaskFormat + 1; * Return the number of bytes-per-pixel for the specified mask format. */ static inline int GrMaskFormatBytesPerPixel(GrMaskFormat format) { - SkASSERT((unsigned)format < kMaskFormatCount); + SkASSERT(format < kMaskFormatCount); // kA8 (0) -> 1 // kA565 (1) -> 2 // kARGB (2) -> 4 |