]> git.vomp.tv Git - vompserver.git/commitdiff
Timer deleting: fix signedness issue
authorMark Calderbank <mark@vomp.tv>
Sun, 21 Oct 2007 22:41:03 +0000 (22:41 +0000)
committerMark Calderbank <mark@vomp.tv>
Sun, 21 Oct 2007 22:41:03 +0000 (22:41 +0000)
mvpclient.c

index cbe04aab771b9ee76e600aee254f09c864c8ab6b..6a8c4840e821091c09336b963d108b7f84c2cc9f 100644 (file)
@@ -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))