Commit 4806e5e7 authored by sletz's avatar sletz
Browse files

Correct JackPortUnRegisterRequest.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2933 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 888a63dd
......@@ -429,7 +429,7 @@ struct JackPortUnRegisterRequest : public JackRequest
int Read(JackChannelTransaction* trans)
{
CheckRes(trans->Read(&fRefNum, sizeof(int)));
CheckRes(trans->Read(&fPortIndex, sizeof(int)));
CheckRes(trans->Read(&fPortIndex, sizeof(jack_port_id_t)));
return 0;
}
......@@ -437,7 +437,7 @@ struct JackPortUnRegisterRequest : public JackRequest
{
CheckRes(JackRequest::Write(trans));
CheckRes(trans->Write(&fRefNum, sizeof(int)));
CheckRes(trans->Write(&fPortIndex, sizeof(int)));
CheckRes(trans->Write(&fPortIndex, sizeof(jack_port_id_t)));
return 0;
}
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment