summaryrefslogtreecommitdiffstats
path: root/src/cameras/uca-pco-camera.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-17 12:40:37 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-17 12:40:55 +0200
commit753a20e6fc17d9266a94663f5a89a11eaf982284 (patch)
tree3647e5a9dc44dc41958fc835d25eab1d91aa3cf1 /src/cameras/uca-pco-camera.c
parente715d48602dac7f5d86453f80421348252ab92df (diff)
downloaduca-753a20e6fc17d9266a94663f5a89a11eaf982284.tar.gz
uca-753a20e6fc17d9266a94663f5a89a11eaf982284.tar.bz2
uca-753a20e6fc17d9266a94663f5a89a11eaf982284.tar.xz
uca-753a20e6fc17d9266a94663f5a89a11eaf982284.zip
Fix potential overflow error
Diffstat (limited to 'src/cameras/uca-pco-camera.c')
-rw-r--r--src/cameras/uca-pco-camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cameras/uca-pco-camera.c b/src/cameras/uca-pco-camera.c
index 11328e9..8ee4db5 100644
--- a/src/cameras/uca-pco-camera.c
+++ b/src/cameras/uca-pco-camera.c
@@ -109,7 +109,7 @@ static const gchar *base_overrideables[N_PROPERTIES] = {
"has-camram-recording"
};
-static GParamSpec *pco_properties[N_PROPERTIES - N_INTERFACE_PROPERTIES - 1] = { NULL, };
+static GParamSpec *pco_properties[N_PROPERTIES - N_INTERFACE_PROPERTIES] = { NULL, };
/*
* This structure defines type-specific properties of PCO cameras.