fix warnings
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 19 Dec 2005 14:43:51 +0000 (14:43 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 19 Dec 2005 14:43:51 +0000 (14:43 +0000)
lib/service/iservice.h

index f84b961..ed1cf3a 100644 (file)
@@ -47,14 +47,14 @@ public:
        std::string path;
        std::string getPath() { return path; }
 
        std::string path;
        std::string getPath() { return path; }
 
-       int getData(int num) const
+       int getData(unsigned int num) const
        {
                if ( num < sizeof(data)/sizeof(int) )
                        return data[num];
                return 0;
        }
 
        {
                if ( num < sizeof(data)/sizeof(int) )
                        return data[num];
                return 0;
        }
 
-       void setData(int num, int val)
+       void setData(unsigned int num, int val)
        {
                if ( num < sizeof(data)/sizeof(int) )
                        data[num] = val;
        {
                if ( num < sizeof(data)/sizeof(int) )
                        data[num] = val;