fixed unused param + unsigned/signed mismatch warning
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 21 Feb 2008 22:33:21 +0000 (22:33 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 21 Feb 2008 22:33:21 +0000 (22:33 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2680 94cd875c-1c1d-0410-91d2-eb244daf1a30

lib_internal/testsuite/matchlist.c

index d469345..40f0cfd 100644 (file)
@@ -28,7 +28,7 @@
 
 int wrapper_exit_code = 255;
 
-int main(int argc, char *argv[])
+int main()
 {
        struct MatchList list;
        static const char *files[] = {
@@ -61,7 +61,7 @@ int main(int argc, char *argv[])
                return 0;
        else {
                char buf[(sizeof(result) * 8) / 3 + 2], *ptr;
-               ssize_t i;
+               size_t i;
                WRITE_MSG(1, "result = ");
                buf[sizeof(buf) - 1] = '\0';
                for (i = 0, ptr = buf + sizeof(buf) - 2; i < (sizeof(result) * 8); i += 3, ptr--)