From ac4f8fc1751d4f0de33e519c2804c1507238983d Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 18 Apr 2012 10:27:33 +0200 Subject: Fix out-of-bounds errors It's a bit strange that I only get warnings at release builds but not at debug builds. --- src/cameras/uca-ufo-camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cameras/uca-ufo-camera.c') diff --git a/src/cameras/uca-ufo-camera.c b/src/cameras/uca-ufo-camera.c index 43d0454..631144c 100644 --- a/src/cameras/uca-ufo-camera.c +++ b/src/cameras/uca-ufo-camera.c @@ -84,7 +84,7 @@ static const gchar *base_overrideables[N_PROPERTIES] = { "has-camram-recording" }; -static GParamSpec *ufo_properties[N_PROPERTIES - N_INTERFACE_PROPERTIES] = { NULL, }; +static GParamSpec *ufo_properties[N_PROPERTIES] = { NULL, }; struct _UcaUfoCameraPrivate { -- cgit v1.2.3