wcap: Declare variable with same sign as convert_to_yv12() expects.
authorScott Moreau <oreaus@gmail.com>
Mon, 23 Jul 2012 00:23:51 +0000 (18:23 -0600)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 23 Jul 2012 14:42:04 +0000 (10:42 -0400)
wcap/main.c

index bdbc8cb..09e0aa7 100644 (file)
@@ -132,7 +132,7 @@ convert_to_yv12(struct wcap_decoder *decoder, unsigned char *out)
 static void
 output_yuv_frame(struct wcap_decoder *decoder)
 {
-       static char *out;
+       static unsigned char *out;
        int size;
 
        size = decoder->width * decoder->height * 3 / 2;