gcc4 build fix.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32042 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2009-08-01 00:04:05 +00:00
parent 3b90428b4a
commit a0bfe3ab9d
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -645,8 +645,8 @@ BMessage::_PrintToStream(const char* indent) const
entry_ref ref;
BPrivate::entry_ref_unflatten(&ref, (char *)pointer, size);
printf("entry_ref(device=%ld, directory=%lld,
name=\"%s\", ", ref.device, ref.directory, ref.name);
printf("entry_ref(device=%ld, directory=%lld,"
"name=\"%s\", ", ref.device, ref.directory, ref.name);
BPath path(&ref);
printf("path=\"%s\")\n", path.Path());
+4 -4
View File
@@ -519,13 +519,13 @@ MessageAdapter::_UnflattenR5Message(uint32 format, BMessage *into,
header->what = into->what = r5header.what;
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) {
// reply info
reader(header->reply_port);
reader(header->reply_target);
reader(header->reply_team);
reader(header->reply_port, sizeof(header->reply_port));
reader(header->reply_target, sizeof(header->reply_target));
reader(header->reply_team, sizeof(header->reply_team));
// big flags
uint8 bigFlag;