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

git at videolan.org git at videolan.org
Sat Jul 17 20:50:42 CEST 2010


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

Fix implicit switch case cast

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=749860b6bf52df7418f25a820fc14f54a08ffb32
---

 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 7485c95..d0dd7c2 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