Skip to content
Commit b536449d authored by Allison Karlitskaya's avatar Allison Karlitskaya
Browse files

don't use non-standard 'd' suffix on float literal

C does not define the 'd' suffix for floating point literals.  In fact,
'double' is the default type of literals if not modified by 'f' (float)
or 'l' (long float).

Additionally: 'float' arguments are automatically upcasted to 'double'
when passing through a varargs list, so this wouldn't be needed in any
case.

This problem was causing failures to build with clang.

https://bugzilla.gnome.org/show_bug.cgi?id=720207
parent 84f6fdfc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment