From 753a20e6fc17d9266a94663f5a89a11eaf982284 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 17 Apr 2012 12:40:37 +0200 Subject: Fix potential overflow error --- src/cameras/uca-pco-camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cameras/uca-pco-camera.c') 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. -- cgit v1.2.3