From: 11rcombs Date: Sat, 1 Mar 2014 01:54:39 +0000 (-0600) Subject: Don't use an unsigned it to check for <0 :| X-Git-Tag: 0.11.2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14520fbc70eb63a3ce826c4e985f4233fb657196;p=libass Don't use an unsigned it to check for <0 :| --- 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) {