[vlc-commits] commit: Fix implicit switch case cast ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sat Jul 17 20:51:08 CEST 2010


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 17 21:50:22 2010 +0300| [7b2e7dd2ffdec389098945ee46a1236b119bc3c8] | committer: Rémi Denis-Courmont 

Fix implicit switch case cast

(cherry picked from commit 749860b6bf52df7418f25a820fc14f54a08ffb32)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=7b2e7dd2ffdec389098945ee46a1236b119bc3c8
---

 modules/access/file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/file.c b/modules/access/file.c
index 7df8304..e41c5ea 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -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:



More information about the vlc-commits mailing list