diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2018-05-09 23:39:19 -0700 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2018-06-20 18:33:32 -0700 |
commit | 9ffda061e6726c5668a01a25a49b0c06c71c0453 (patch) | |
tree | 0a9dcd5777b2a079aa7df2d5930506fdf31283d2 /tests | |
parent | c4f5896068ca342b75bc438af0b78d44cf635305 (diff) | |
download | gobject-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.c | 2 |
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, |