From b336eb690c811e5e91acbd79ab01d280a26a18af Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Thu, 22 Nov 2007 23:45:23 +0000 Subject: [PATCH] Bug fixes to new protocol --- mvpclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mvpclient.c b/mvpclient.c index 04f9745..c2c23b5 100644 --- a/mvpclient.c +++ b/mvpclient.c @@ -948,7 +948,7 @@ int MVPClient::processStartStreamingRecording(UCHAR* data, int length, ResponseP { recplayer = new RecPlayer(recording); - rp->addULONG(recplayer->getLengthBytes()); + rp->addULLONG(recplayer->getLengthBytes()); rp->addULONG(recplayer->getLengthFrames()); rp->finalise(); tcp.sendPacket(rp->getPtr(), rp->getLen()); @@ -980,7 +980,7 @@ int MVPClient::processPositionFromFrameNumber(UCHAR* data, int length, ResponseP retval = recplayer->positionFromFrameNumber(frameNumber); } - rp->addULONG(retval); + rp->addULLONG(retval); rp->finalise(); tcp.sendPacket(rp->getPtr(), rp->getLen()); delete rp; -- 2.39.5