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
This commit is contained in:
parent
22671ef7cf
commit
d2718b5d34
@ -136,7 +136,7 @@ DrawState::ReadFontFromLink(BPrivate::LinkReceiver& link)
|
||||
|
||||
if (mask & B_FONT_FAMILY_AND_STYLE) {
|
||||
uint32 fontID;
|
||||
link.Read<int32>((int32*)&fontID);
|
||||
link.Read<uint32>(&fontID);
|
||||
fFont.SetFamilyAndStyle(fontID);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user