summaryrefslogtreecommitdiff
path: root/libgphoto2
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2006-12-16 18:06:34 +0000
committerMarcus Meissner <marcus@jet.franken.de>2006-12-16 18:06:34 +0000
commitf6afc65a91e024ffa52cac2c2d1f27f7b19c9f35 (patch)
tree2f11eb63eef67a613edc3b996e7a2022205cba5c /libgphoto2
parent5d5bbaad435d439aee33f04092f6e98123bc65d4 (diff)
downloadlibgphoto2-f6afc65a91e024ffa52cac2c2d1f27f7b19c9f35.tar.gz
make data const
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9618 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2')
-rw-r--r--libgphoto2/bayer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libgphoto2/bayer.c b/libgphoto2/bayer.c
index 9bd864bc1..578fbbb5c 100644
--- a/libgphoto2/bayer.c
+++ b/libgphoto2/bayer.c
@@ -23,7 +23,7 @@
#include <gphoto2/gphoto2-result.h>
-static int tile_colors[8][4] = {
+static const int tile_colors[8][4] = {
{0, 1, 1, 2},
{1, 0, 2, 1},
{2, 1, 1, 0},
@@ -272,5 +272,3 @@ gp_bayer_decode (unsigned char *input, int w, int h, unsigned char *output,
return (GP_OK);
}
-
-