Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] [PATCH] vdr-1.3.18 remote plugin



C.Y.M wrote:
This seems to compile although I havnt had a chance to test it yet. There is a warning that I would like to fix but am not sure really how:

remote.c:91: warning: comparison between signed and unsigned integer
expressions
remote.c:113: warning: comparison between signed and unsigned integer
expressions
remote.c:113: warning: comparison between signed and unsigned integer
expressions

This small change fixes this warning..


--- vdr-1.3.17-mod/PLUGINS/src/remote/remote.h.orig	2004-08-27 18:30:56.000000000 -0700
+++ vdr-1.3.17-mod/PLUGINS/src/remote/remote.h	2005-01-09 09:32:02.000000000 -0800
@@ -46,10 +46,10 @@
   static const uint64 INVALID_KEY = (uint64) -1;
   int fh;
   char *device;
-  int polldelay;
-  int repeatdelay;
-  int repeatfreq;
-  int repeattimeout;
+  u_int polldelay;
+  u_int repeatdelay;
+  u_int repeatfreq;
+  u_int repeattimeout;
   cRemoteGeneric(const char *name, int f, char *d);
   virtual ~cRemoteGeneric();
   virtual uint64 getKey(void) = 0;

Home | Main Index | Thread Index