[PATCH weston 1/2] wcap: Declare variable with same sign as convert_to_yv12() expects.

Scott Moreau oreaus at gmail.com
Sun Jul 22 17:23:51 PDT 2012


---
 wcap/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wcap/main.c b/wcap/main.c
index bdbc8cb..09e0aa7 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;
-- 
1.7.10.4



More information about the wayland-devel mailing list