]> git.sesse.net Git - vlc/commitdiff
Fix implicit switch case cast
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Jul 2010 18:50:22 +0000 (21:50 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Jul 2010 18:50:22 +0000 (21:50 +0300)
modules/access/file.c

index 7485c95d672ca15deb835f9337484accccbb5dd3..d0dd7c28884a90f0f290691197f43a110973f87e 100644 (file)
@@ -104,7 +104,7 @@ static bool IsRemote (int fd)
     if (fstatfs (fd, &stf))
         return false;
 
-    switch (stf.f_type)
+    switch ((unsigned long)stf.f_type)
     {
         case AFS_SUPER_MAGIC:
         case CODA_SUPER_MAGIC: