gparamspecs: Define G_FLOAT_EPSILON as a float constant

Rather than defining it as a double constant. This introduces no
functional changes, but does squash some `-Wfloat-conversion` warnings.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3405
This commit is contained in:
Philip Withnall 2024-06-28 14:35:00 +01:00
parent b69fe111ec
commit cdbfef3842
No known key found for this signature in database
GPG Key ID: DCDF5885B1F3ED73

View File

@ -37,7 +37,7 @@
#include "gvaluearray.h"
#define G_FLOAT_EPSILON (1e-30)
#define G_FLOAT_EPSILON (1e-30f)
#define G_DOUBLE_EPSILON (1e-90)