diff options
author | 11rcombs <rodger.combs@gmail.com> | 2014-02-28 19:54:39 -0600 |
---|---|---|
committer | 11rcombs <rodger.combs@gmail.com> | 2014-02-28 19:54:39 -0600 |
commit | 14520fbc70eb63a3ce826c4e985f4233fb657196 (patch) | |
tree | 140bcbbff7c60452c43f14b915dfb0702e8624ed | |
parent | d1c835c3b4d8318621098f358ec5ca37a6e99170 (diff) | |
download | libass-14520fbc70eb63a3ce826c4e985f4233fb657196.tar.bz2 libass-14520fbc70eb63a3ce826c4e985f4233fb657196.tar.xz |
Don't use an unsigned it to check for <0 :|
-rw-r--r-- | libass/ass_bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_bitmap.c b/libass/ass_bitmap.c index 9196fae..144c8c0 100644 --- a/libass/ass_bitmap.c +++ b/libass/ass_bitmap.c @@ -544,7 +544,7 @@ void sub_bitmaps_c(uint8_t *dst, intptr_t dst_stride, uint8_t *src, intptr_t src_stride, intptr_t height, intptr_t width) { - unsigned out; + short out; uint8_t* end = dst + dst_stride * height; while (dst < end) { for (unsigned j = 0; j < width; ++j) { |