summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2018-05-09 23:39:19 -0700
committerPhilip Chimento <philip.chimento@gmail.com>2018-06-20 18:33:32 -0700
commit9ffda061e6726c5668a01a25a49b0c06c71c0453 (patch)
tree0a9dcd5777b2a079aa7df2d5930506fdf31283d2 /tests
parentc4f5896068ca342b75bc438af0b78d44cf635305 (diff)
downloadgobject-introspection-9ffda061e6726c5668a01a25a49b0c06c71c0453.tar.gz
regress: Avoid double-promotion warning
Float literal is silently promoted to a double here. Change it to a double literal.
Diffstat (limited to 'tests')
-rw-r--r--tests/scanner/regress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c
index a321c5eb..e1da3d17 100644
--- a/tests/scanner/regress.c
+++ b/tests/scanner/regress.c
@@ -2668,7 +2668,7 @@ regress_test_obj_class_init (RegressTestObjClass *klass)
"A contained double",
G_MINDOUBLE,
G_MAXDOUBLE,
- 1.0f,
+ 1.0,
G_PARAM_READWRITE);
g_object_class_install_property (gobject_class,
PROP_TEST_OBJ_DOUBLE,