]> git.sesse.net Git - vlc/blobdiff - modules/access/dvdread.c
Remove legacy casts
[vlc] / modules / access / dvdread.c
index 95e680129d468e2abc9d12de58d0a85c5d58acdb..82b8194a74db28cd7d3fd754b1747ab2d044cff9 100644 (file)
@@ -426,7 +426,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
 
         case DEMUX_GET_PTS_DELAY:
             pi64 = (int64_t*)va_arg( args, int64_t * );
-            *pi64 = (int64_t)var_GetInteger( p_demux, "dvdread-caching" )*1000;
+            *pi64 = var_GetInteger( p_demux, "dvdread-caching" )*1000;
             return VLC_SUCCESS;
 
         /* TODO implement others */