Fix build when not using Message4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15056 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e489029756
commit
174459d703
@ -926,7 +926,8 @@ BMessage::Unflatten(const char* buffer)
|
||||
|
||||
if (magic == kMessageMagicDano || magic == kMessageMagicDanoSwapped) {
|
||||
// dano style message
|
||||
BMemoryIO memoryStream(buffer, BPrivate::dano_message_size(buffer));
|
||||
BMemoryIO memoryStream(buffer,
|
||||
BPrivate::dano_message_flattened_size(buffer));
|
||||
return Unflatten(&memoryStream);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user