From c6c060dde365786c7bc7899b341bc15db23335b0 Mon Sep 17 00:00:00 2001 From: Mark Calderbank Date: Sun, 21 Oct 2007 22:41:03 +0000 Subject: [PATCH] Timer deleting: fix signedness issue --- mvpclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.39.5