Fix GCC4 compilation issue.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21950 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ithamar R. Adema 2007-08-14 18:38:47 +00:00
parent 957200056f
commit 3b1dcc1e09

View File

@ -842,8 +842,8 @@ ServerPicture::SetFontFromLink(BPrivate::LinkReceiver& link)
link.Read<uint32>(&fontID); link.Read<uint32>(&fontID);
ServerFont font; ServerFont font;
font.SetFamilyAndStyle(fontID); font.SetFamilyAndStyle(fontID);
WriteSetFontFamily((font_family)font.Family()); WriteSetFontFamily(font.Family());
WriteSetFontStyle((font_style)font.Style()); WriteSetFontStyle(font.Style());
} }
if (mask & B_FONT_SIZE) { if (mask & B_FONT_SIZE) {