[gtk/matthiasc/for-master: 1/7] ngl: Use floorf consistently
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 1/7] ngl: Use floorf consistently
- Date: Sun, 21 Mar 2021 01:11:52 +0000 (UTC)
commit 9012c8c1de45f01efef7a2dd2f3e78a8f87cf346
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]