summaryrefslogtreecommitdiff
path: root/wcap
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2012-07-22 18:23:51 -0600
committerKristian Høgsberg <krh@bitplanet.net>2012-07-23 10:42:04 -0400
commit005d8cd9f7e99cc87dfde63016fdbccd54dfa660 (patch)
tree5a32cdf95dab20c8d7526808a2a88ad50c00849a /wcap
parent0e696478a9c498594dd285883cb3b8e8522f9640 (diff)
downloadweston-005d8cd9f7e99cc87dfde63016fdbccd54dfa660.tar.gz
wcap: Declare variable with same sign as convert_to_yv12() expects.
Diffstat (limited to 'wcap')
-rw-r--r--wcap/main.c2
1 files changed, 1 insertions, 1 deletions
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;