From 5c7c48520d7793440a5225cd8369585e4d40eafc Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 5 Jun 2003 21:37:14 +0000 Subject: [PATCH] fix float min and max Original commit message from CVS: fix float min and max --- libs/gst/control/dparam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/control/dparam.c b/libs/gst/control/dparam.c index dd21f5cb8d..d94371cdfb 100644 --- a/libs/gst/control/dparam.c +++ b/libs/gst/control/dparam.c @@ -84,7 +84,7 @@ gst_dparam_class_init (GstDParamClass *klass) g_object_class_install_property(G_OBJECT_CLASS(klass), ARG_VALUE_FLOAT, g_param_spec_float("value_float","Float Value", "The value that should be changed if gfloat is the type", - (gfloat)G_MININT64, (gfloat)G_MAXINT64, 0.0F, G_PARAM_READWRITE)); + -G_MAXFLOAT, G_MAXFLOAT, 0.0F, G_PARAM_READWRITE)); g_object_class_install_property(G_OBJECT_CLASS(klass), ARG_VALUE_INT, g_param_spec_int("value_int","Integer Value", "The value that should be changed if gint is the type",