From: Mark Calderbank Date: Sun, 21 Oct 2007 22:41:03 +0000 (+0000) Subject: Timer deleting: fix signedness issue X-Git-Tag: r0-2-7~4 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=c6c060dde365786c7bc7899b341bc15db23335b0;p=vompserver.git Timer deleting: fix signedness issue --- diff --git a/mvpclient.c b/mvpclient.c index cbe04aa..6a8c484 100644 --- a/mvpclient.c +++ b/mvpclient.c @@ -2141,8 +2141,8 @@ int MVPClient::processDeleteTimer(UCHAR* buffer, int length) INT delChannel = ntohl(*(ULONG*)&buffer[position]); position += 4; INT delWeekdays = ntohl(*(ULONG*)&buffer[position]); position += 4; INT delDay = ntohl(*(ULONG*)&buffer[position]); position += 4; - ULONG delStart = ntohl(*(ULONG*)&buffer[position]); position += 4; - ULONG delStop = ntohl(*(ULONG*)&buffer[position]); position += 4; + INT delStart = ntohl(*(ULONG*)&buffer[position]); position += 4; + INT delStop = ntohl(*(ULONG*)&buffer[position]); position += 4; cTimer* ti = NULL; for (ti = Timers.First(); ti; ti = Timers.Next(ti))