From fa1b1031d215c4adfde741efd13ed1993dc5c282 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Fri, 28 Aug 2009 00:44:34 +0000 Subject: [PATCH] Not that I'd understand the problem GCC4 has with that while GCC2 doesn't care, but this fixes the GCC4 build again, without breaking the function. +alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32772 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/app/MessageAdapter.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/kits/app/MessageAdapter.cpp b/src/kits/app/MessageAdapter.cpp index c555e58644..df1ffea58a 100644 --- a/src/kits/app/MessageAdapter.cpp +++ b/src/kits/app/MessageAdapter.cpp @@ -521,13 +521,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;