diff options
author | wsoltys <wiso@no.way> | 2012-11-12 20:19:19 +0100 |
---|---|---|
committer | wsoltys <wiso@no.way> | 2012-11-12 20:19:19 +0100 |
commit | 1dda12d55050fc248c5f6010aa63e2b2364ee96f (patch) | |
tree | 1eb3f2e4838e7eecb6af4e994237c2beec71c108 | |
parent | fc0d58b64dc753121c50598b8312bd8ca611b71e (diff) |
fixed compiler warning.
-rw-r--r-- | xbmc/guilib/GUIFontTTF.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/guilib/GUIFontTTF.h b/xbmc/guilib/GUIFontTTF.h index e88c842cdb..98d63c7371 100644 --- a/xbmc/guilib/GUIFontTTF.h +++ b/xbmc/guilib/GUIFontTTF.h @@ -96,7 +96,7 @@ protected: float GetTextWidthInternal(vecText::const_iterator start, vecText::const_iterator end); float GetCharWidthInternal(character_t ch); float GetTextHeight(float lineSpacing, int numLines) const; - float GetTextBaseLine() const { return m_cellBaseLine; } + float GetTextBaseLine() const { return (float)m_cellBaseLine; } float GetLineHeight(float lineSpacing) const; float GetFontHeight() const { return m_height; } |