]> git.sesse.net Git - vlc/blobdiff - modules/access/file.c
Fix implicit switch case cast
[vlc] / 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: