From 7b2b2f05fead350080486712692fe807f005fbca Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 5 May 2005 19:40:25 +0000 Subject: [PATCH] * bayer.c: added cast to fix signedness warning. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7954 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2/bayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgphoto2/bayer.c b/libgphoto2/bayer.c index 94141377a..1fea1e2da 100644 --- a/libgphoto2/bayer.c +++ b/libgphoto2/bayer.c @@ -43,7 +43,7 @@ gp_bayer_expand (unsigned char *input, int w, int h, unsigned char *output, { int x, y, i; int colour, bayer; - char *ptr = input; + char *ptr = (char*)input; switch (tile) {