[gtk/matthiasc/for-master: 7/14] ngl: Use floorf consistently
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 7/14] ngl: Use floorf consistently
- Date: Sun, 21 Mar 2021 20:05:35 +0000 (UTC)
commit fbe47106e7c679274a3993acc0f8b41addc696cd
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Mar 19 18:58:29 2021 -0400
ngl: Use floorf consistently
gsk/ngl/gsknglglyphlibraryprivate.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/ngl/gsknglglyphlibraryprivate.h b/gsk/ngl/gsknglglyphlibraryprivate.h
index c44068dd50..8a2b421290 100644
--- a/gsk/ngl/gsknglglyphlibraryprivate.h
+++ b/gsk/ngl/gsknglglyphlibraryprivate.h
@@ -71,7 +71,7 @@ gboolean gsk_ngl_glyph_library_add (GskNglGlyphLibrary *self,
static inline int
gsk_ngl_glyph_key_phase (float value)
{
- return floor (4 * (value + 0.125)) - 4 * floor (value + 0.125);
+ return floorf (4 * (value + 0.125)) - 4 * floorf (value + 0.125);
}
static inline void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]