From 005d8cd9f7e99cc87dfde63016fdbccd54dfa660 Mon Sep 17 00:00:00 2001 From: Scott Moreau Date: Sun, 22 Jul 2012 18:23:51 -0600 Subject: [PATCH] wcap: Declare variable with same sign as convert_to_yv12() expects. --- wcap/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcap/main.c b/wcap/main.c index bdbc8cb7..09e0aa7f 100644 --- a/wcap/main.c +++ b/wcap/main.c @@ -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;