gcc4 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32042 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -645,8 +645,8 @@ BMessage::_PrintToStream(const char* indent) const
|
|||||||
entry_ref ref;
|
entry_ref ref;
|
||||||
BPrivate::entry_ref_unflatten(&ref, (char *)pointer, size);
|
BPrivate::entry_ref_unflatten(&ref, (char *)pointer, size);
|
||||||
|
|
||||||
printf("entry_ref(device=%ld, directory=%lld,
|
printf("entry_ref(device=%ld, directory=%lld,"
|
||||||
name=\"%s\", ", ref.device, ref.directory, ref.name);
|
"name=\"%s\", ", ref.device, ref.directory, ref.name);
|
||||||
|
|
||||||
BPath path(&ref);
|
BPath path(&ref);
|
||||||
printf("path=\"%s\")\n", path.Path());
|
printf("path=\"%s\")\n", path.Path());
|
||||||
|
|||||||
@@ -519,13 +519,13 @@ MessageAdapter::_UnflattenR5Message(uint32 format, BMessage *into,
|
|||||||
|
|
||||||
header->what = into->what = r5header.what;
|
header->what = into->what = r5header.what;
|
||||||
if (r5header.flags & R5_MESSAGE_FLAG_INCLUDE_TARGET)
|
if (r5header.flags & R5_MESSAGE_FLAG_INCLUDE_TARGET)
|
||||||
reader(header->target);
|
reader(header->target, sizeof(header->target));
|
||||||
|
|
||||||
if (r5header.flags & R5_MESSAGE_FLAG_INCLUDE_REPLY) {
|
if (r5header.flags & R5_MESSAGE_FLAG_INCLUDE_REPLY) {
|
||||||
// reply info
|
// reply info
|
||||||
reader(header->reply_port);
|
reader(header->reply_port, sizeof(header->reply_port));
|
||||||
reader(header->reply_target);
|
reader(header->reply_target, sizeof(header->reply_target));
|
||||||
reader(header->reply_team);
|
reader(header->reply_team, sizeof(header->reply_team));
|
||||||
|
|
||||||
// big flags
|
// big flags
|
||||||
uint8 bigFlag;
|
uint8 bigFlag;
|
||||||
|
|||||||
Reference in New Issue
Block a user