mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-23 22:16:16 +01:00
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:
parent
b69fe111ec
commit
cdbfef3842
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user