From 3b1dcc1e091ebe5ce75c931337b77d253eb5d3f0 Mon Sep 17 00:00:00 2001 From: "Ithamar R. Adema" Date: Tue, 14 Aug 2007 18:38:47 +0000 Subject: [PATCH] Fix GCC4 compilation issue. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21950 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/ServerPicture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/servers/app/ServerPicture.cpp b/src/servers/app/ServerPicture.cpp index 7f931e92bc..0a0978f6b6 100644 --- a/src/servers/app/ServerPicture.cpp +++ b/src/servers/app/ServerPicture.cpp @@ -842,8 +842,8 @@ ServerPicture::SetFontFromLink(BPrivate::LinkReceiver& link) link.Read(&fontID); ServerFont font; font.SetFamilyAndStyle(fontID); - WriteSetFontFamily((font_family)font.Family()); - WriteSetFontStyle((font_style)font.Style()); + WriteSetFontFamily(font.Family()); + WriteSetFontStyle(font.Style()); } if (mask & B_FONT_SIZE) {