]> granicus.if.org Git - libass/commitdiff
Don't use an unsigned it to check for <0 :|
author11rcombs <rodger.combs@gmail.com>
Sat, 1 Mar 2014 01:54:39 +0000 (19:54 -0600)
committer11rcombs <rodger.combs@gmail.com>
Sat, 1 Mar 2014 01:54:39 +0000 (19:54 -0600)
libass/ass_bitmap.c

index 9196faed9290e08e4ecde37c9f03c5c3b946715e..144c8c02636871872850c3b4d302865d5bae69e0 100644 (file)
@@ -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) {