Chromium Code Reviews| Index: source/libvpx/vp9/encoder/vp9_lookahead.c |
| =================================================================== |
| --- source/libvpx/vp9/encoder/vp9_lookahead.c (revision 179051) |
| +++ source/libvpx/vp9/encoder/vp9_lookahead.c (working copy) |
| @@ -174,7 +174,7 @@ |
| int index) { |
| struct lookahead_entry *buf = NULL; |
| - assert(index < ctx->max_sz); |
| + assert(index < (int)ctx->max_sz); |
| if (index < (int)ctx->sz) { |
| index += ctx->read_idx; |
| if (index >= (int)ctx->max_sz) |