From d2718b5d341fa5538b15301c0b26b211e094ffe5 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Sun, 13 Nov 2005 21:54:41 +0000 Subject: [PATCH] we write family and style as an uint32, so we should read it as an uint32 too git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14906 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/DrawState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/app/DrawState.cpp b/src/servers/app/DrawState.cpp index 07546af8e2..8d60ce40e7 100644 --- a/src/servers/app/DrawState.cpp +++ b/src/servers/app/DrawState.cpp @@ -136,7 +136,7 @@ DrawState::ReadFontFromLink(BPrivate::LinkReceiver& link) if (mask & B_FONT_FAMILY_AND_STYLE) { uint32 fontID; - link.Read((int32*)&fontID); + link.Read(&fontID); fFont.SetFamilyAndStyle(fontID); }