Really silence the warning.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 5 Feb 2007 20:45:25 +0000 (20:45 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 5 Feb 2007 20:45:25 +0000 (20:45 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2490 94cd875c-1c1d-0410-91d2-eb244daf1a30

src/vdevmap.c

index 0cc1afe..1a9c9a4 100644 (file)
@@ -85,7 +85,7 @@ int main(int argc, char *argv[])
   uint32_t     flags           = 0;
   char         *device         = NULL;
   char         *target         = NULL;
-  long         tmp             = 0;
+  unsigned long        tmp             = 0;
   
   while (1) {
     int                c = getopt_long(argc, argv, "+x:ocrf:d:t:", CMDLINE_OPTIONS, 0);