Skip to content

Commit 21f219e

Browse files
committed
Build fix.
1 parent 23aedc4 commit 21f219e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comms/include/comms/protocol/MsgSizeLayer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ class MsgSizeLayer : public
509509
{
510510
auto remSize = BaseImpl::nextLayer().length(msg);
511511
Field fieldTmp;
512-
static_cast<const ExtendingClass*>(this)->prepareFieldForWrite(remSize, msg, fieldTmp);
512+
static_cast<const ExtendingClass*>(this)->prepareFieldForWrite(remSize, &msg, fieldTmp);
513513
return fieldTmp.length();
514514
}
515515

0 commit comments

Comments
 (0)